mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-05-25 02:52:11 +02:00
feat: Move safeguards above patcher preference group
This commit is contained in:
parent
9f44541bbd
commit
28aad879ba
@ -112,20 +112,6 @@ fun AdvancedSettingsScreen(
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
GroupHeader(stringResource(R.string.patcher))
|
|
||||||
BooleanItem(
|
|
||||||
preference = vm.prefs.useProcessRuntime,
|
|
||||||
coroutineScope = vm.viewModelScope,
|
|
||||||
headline = R.string.process_runtime,
|
|
||||||
description = R.string.process_runtime_description,
|
|
||||||
)
|
|
||||||
IntegerItem(
|
|
||||||
preference = vm.prefs.patcherProcessMemoryLimit,
|
|
||||||
coroutineScope = vm.viewModelScope,
|
|
||||||
headline = R.string.process_runtime_memory_limit,
|
|
||||||
description = R.string.process_runtime_memory_limit_description,
|
|
||||||
)
|
|
||||||
|
|
||||||
GroupHeader(stringResource(R.string.safeguards))
|
GroupHeader(stringResource(R.string.safeguards))
|
||||||
SafeguardBooleanItem(
|
SafeguardBooleanItem(
|
||||||
preference = vm.prefs.disablePatchVersionCompatCheck,
|
preference = vm.prefs.disablePatchVersionCompatCheck,
|
||||||
@ -156,6 +142,20 @@ fun AdvancedSettingsScreen(
|
|||||||
confirmationText = R.string.patch_selection_safeguard_confirmation
|
confirmationText = R.string.patch_selection_safeguard_confirmation
|
||||||
)
|
)
|
||||||
|
|
||||||
|
GroupHeader(stringResource(R.string.patcher))
|
||||||
|
BooleanItem(
|
||||||
|
preference = vm.prefs.useProcessRuntime,
|
||||||
|
coroutineScope = vm.viewModelScope,
|
||||||
|
headline = R.string.process_runtime,
|
||||||
|
description = R.string.process_runtime_description,
|
||||||
|
)
|
||||||
|
IntegerItem(
|
||||||
|
preference = vm.prefs.patcherProcessMemoryLimit,
|
||||||
|
coroutineScope = vm.viewModelScope,
|
||||||
|
headline = R.string.process_runtime_memory_limit,
|
||||||
|
description = R.string.process_runtime_memory_limit_description,
|
||||||
|
)
|
||||||
|
|
||||||
GroupHeader(stringResource(R.string.debugging))
|
GroupHeader(stringResource(R.string.debugging))
|
||||||
val exportDebugLogsLauncher =
|
val exportDebugLogsLauncher =
|
||||||
rememberLauncherForActivityResult(ActivityResultContracts.CreateDocument("text/plain")) {
|
rememberLauncherForActivityResult(ActivityResultContracts.CreateDocument("text/plain")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user