File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
app/src/main/java/app/revanced/manager Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -277,6 +277,10 @@ private fun ReVancedManager(vm: MainViewModel) {
277277 AdvancedSettingsScreen (onBackClick = navController::popBackStack)
278278 }
279279
280+ composable<Settings .DeveloperOptions > {
281+ DeveloperOptionsScreen (onBackClick = navController::popBackStack)
282+ }
283+
280284 composable<Settings .Updates > {
281285 UpdatesSettingsScreen (
282286 onBackClick = navController::popBackStack,
@@ -312,9 +316,6 @@ private fun ReVancedManager(vm: MainViewModel) {
312316 LicensesScreen (onBackClick = navController::popBackStack)
313317 }
314318
315- composable<Settings .DeveloperOptions > {
316- DeveloperOptionsScreen (onBackClick = navController::popBackStack)
317- }
318319 }
319320 }
320321}
Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ private val settingsSections = listOf(
4141 R .string.advanced_description,
4242 Icons .Outlined .Tune
4343 ) to Settings .Advanced ,
44+ Triple (
45+ R .string.developer_options,
46+ R .string.developer_options_description,
47+ Icons .Outlined .Code
48+ ) to Settings .DeveloperOptions ,
4449 Triple (
4550 R .string.about,
4651 R .string.app_name,
Original file line number Diff line number Diff line change @@ -126,11 +126,6 @@ fun AboutSettingsScreen(
126126 navigate(Settings .Contributors )
127127 }
128128 ),
129- Triple (
130- stringResource(R .string.developer_options),
131- stringResource(R .string.developer_options_description),
132- third = { navigate(Settings .DeveloperOptions ) }
133- ),
134129 Triple (
135130 stringResource(R .string.opensource_licenses),
136131 stringResource(R .string.opensource_licenses_description),
You can’t perform that action at this time.
0 commit comments