mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-20 01:33:58 +00:00
refactor: fix more warnings
This commit is contained in:
@@ -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) }
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ fun DashboardScreen(
|
||||
dismiss()
|
||||
vm.createRemoteSource(name, url, autoUpdate)
|
||||
},
|
||||
bundleType = it
|
||||
initialBundleType = it
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user