mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-12 18:04:28 +01:00
refactor: fix more warnings
This commit is contained in:
parent
2a1445d61f
commit
ac0a036035
3 changed files with 5 additions and 5 deletions
|
@ -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>
|
||||||
|
@ -337,4 +337,4 @@
|
||||||
<string name="local_bundle_description">Import local files from your storage, does not automatically update</string>
|
<string name="local_bundle_description">Import local files from your storage, does not automatically update</string>
|
||||||
<string name="remote_bundle_description">Import remote files from a URL, can automatically update</string>
|
<string name="remote_bundle_description">Import remote files from a URL, can automatically update</string>
|
||||||
<string name="recommended">Recommended</string>
|
<string name="recommended">Recommended</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue