refactor: fix more warnings

This commit is contained in:
Ax333l
2024-04-05 20:04:27 +02:00
committed by oSumAtrIX
parent 8d7886f7eb
commit 9a085f4091
3 changed files with 5 additions and 5 deletions

View File

@@ -37,12 +37,12 @@ fun ImportBundleDialog(
onDismissRequest: () -> Unit,
onRemoteSubmit: (String, String, Boolean) -> Unit,
onLocalSubmit: (String, Uri, Uri?) -> Unit,
bundleType: BundleType
initialBundleType: BundleType
) {
var name by rememberSaveable { mutableStateOf("") }
var remoteUrl by rememberSaveable { mutableStateOf("") }
var autoUpdate by rememberSaveable { mutableStateOf(true) }
var bundleType by rememberSaveable { mutableStateOf(bundleType) }
var bundleType by rememberSaveable { mutableStateOf(initialBundleType) }
var patchBundle by rememberSaveable { mutableStateOf<Uri?>(null) }
var integrations by rememberSaveable { mutableStateOf<Uri?>(null) }

View File

@@ -115,7 +115,7 @@ fun DashboardScreen(
dismiss()
vm.createRemoteSource(name, url, autoUpdate)
},
bundleType = it
initialBundleType = it
)
}