mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
refactor: fix more warnings
This commit is contained in:
parent
2a1445d61f
commit
ac0a036035
@ -37,12 +37,12 @@ fun ImportBundleDialog(
|
|||||||
onDismissRequest: () -> Unit,
|
onDismissRequest: () -> Unit,
|
||||||
onRemoteSubmit: (String, String, Boolean) -> Unit,
|
onRemoteSubmit: (String, String, Boolean) -> Unit,
|
||||||
onLocalSubmit: (String, Uri, Uri?) -> Unit,
|
onLocalSubmit: (String, Uri, Uri?) -> Unit,
|
||||||
bundleType: BundleType
|
initialBundleType: BundleType
|
||||||
) {
|
) {
|
||||||
var name by rememberSaveable { mutableStateOf("") }
|
var name by rememberSaveable { mutableStateOf("") }
|
||||||
var remoteUrl by rememberSaveable { mutableStateOf("") }
|
var remoteUrl by rememberSaveable { mutableStateOf("") }
|
||||||
var autoUpdate by rememberSaveable { mutableStateOf(true) }
|
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 patchBundle by rememberSaveable { mutableStateOf<Uri?>(null) }
|
||||||
var integrations by rememberSaveable { mutableStateOf<Uri?>(null) }
|
var integrations by rememberSaveable { mutableStateOf<Uri?>(null) }
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ fun DashboardScreen(
|
|||||||
dismiss()
|
dismiss()
|
||||||
vm.createRemoteSource(name, url, autoUpdate)
|
vm.createRemoteSource(name, url, autoUpdate)
|
||||||
},
|
},
|
||||||
bundleType = it
|
initialBundleType = it
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<string name="bundle_missing">Missing</string>
|
<string name="bundle_missing">Missing</string>
|
||||||
<string name="bundle_error">Error</string>
|
<string name="bundle_error">Error</string>
|
||||||
|
|
||||||
<string name="selected_app_meta">%1s • %2d available patches</string>
|
<string name="selected_app_meta">%1$s • %2$d available patches</string>
|
||||||
|
|
||||||
<string name="patch_item_description">Start patching the application</string>
|
<string name="patch_item_description">Start patching the application</string>
|
||||||
<string name="patch_selector_item">Patch selection and options</string>
|
<string name="patch_selector_item">Patch selection and options</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user