Add FilterScreen stub

This commit is contained in:
tarsin committed 2023-06-06 15:45:35 +08:00
1 parent ca9e1e93d9
commit 8ee20070b6
3 files changed
+12 -1

No files matched your search

@@ -248,7 +248,7 @@ fun EhScreen() {
Preference(
title = stringResource(id = R.string.settings_eh_filter),
summary = stringResource(id = R.string.settings_eh_filter_summary),
)
) { navController.navigate(FILTER_SCREEN) }
SwitchPreference(
title = stringResource(id = R.string.settings_eh_metered_network_warning),
value = Settings::meteredNetworkWarning,
@@ -0,0 +1,7 @@
package com.hippo.ehviewer.ui.settings
import androidx.compose.runtime.Composable
@Composable
fun FilterScreen() {
}
@@ -57,6 +57,9 @@ class SettingsActivity : EhActivity() {
composable(MYTAGS_SCREEN) {
MyTagsScreen()
}
composable(FILTER_SCREEN) {
FilterScreen()
}
}
}
}
@@ -72,3 +75,4 @@ const val ABOUT_SETTINGS_SCREEN = "About"
const val LICENSE_SCREEN = "License"
const val UCONFIG_SCREEN = "UConfig"
const val MYTAGS_SCREEN = "Mytags"
const val FILTER_SCREEN = "Filter"