Add MyTagsScreen stub

This commit is contained in:
tarsin committed 2023-06-06 15:43:28 +08:00
1 parent d9ea549b51
commit ca9e1e93d9
3 files changed
+12 -1

No files matched your search

@@ -172,7 +172,7 @@ fun EhScreen() {
Preference(
title = stringResource(id = R.string.settings_my_tags),
summary = stringResource(id = R.string.settings_my_tags_summary),
)
) { navController.navigate(MYTAGS_SCREEN) }
SimpleMenuPreferenceInt(
title = stringResource(id = rikka.core.R.string.dark_theme),
entry = R.array.night_mode_entries,
@@ -0,0 +1,7 @@
package com.hippo.ehviewer.ui.settings
import androidx.compose.runtime.Composable
@Composable
fun MyTagsScreen() {
}
@@ -54,6 +54,9 @@ class SettingsActivity : EhActivity() {
composable(UCONFIG_SCREEN) {
UConfigScreen()
}
composable(MYTAGS_SCREEN) {
MyTagsScreen()
}
}
}
}
@@ -68,3 +71,4 @@ const val ADVANCED_SETTINGS_SCREEN = "Advanced"
const val ABOUT_SETTINGS_SCREEN = "About"
const val LICENSE_SCREEN = "License"
const val UCONFIG_SCREEN = "UConfig"
const val MYTAGS_SCREEN = "Mytags"