Cleanup unused strings, fix a few accidental unused strings
This commit is contained in:
@@ -45,7 +45,7 @@ fun SortTagScreen(
|
||||
) { paddingValues ->
|
||||
if (state.isEmpty) {
|
||||
EmptyScreen(
|
||||
textResource = R.string.information_empty_category,
|
||||
textResource = R.string.information_empty_tags,
|
||||
modifier = Modifier.padding(paddingValues),
|
||||
)
|
||||
return@Scaffold
|
||||
|
||||
@@ -44,7 +44,7 @@ fun SourceCategoryScreen(
|
||||
) { paddingValues ->
|
||||
if (state.isEmpty) {
|
||||
EmptyScreen(
|
||||
textResource = R.string.information_empty_category,
|
||||
textResource = R.string.no_source_categories,
|
||||
modifier = Modifier.padding(paddingValues),
|
||||
)
|
||||
return@Scaffold
|
||||
|
||||
@@ -43,7 +43,7 @@ fun SourceRepoScreen(
|
||||
) { paddingValues ->
|
||||
if (state.isEmpty) {
|
||||
EmptyScreen(
|
||||
textResource = R.string.information_empty_category,
|
||||
textResource = R.string.information_empty_repos,
|
||||
modifier = Modifier.padding(paddingValues),
|
||||
)
|
||||
return@Scaffold
|
||||
|
||||
+2
-1
@@ -608,10 +608,11 @@ object SettingsAdvancedScreen : SearchableSettings {
|
||||
Preference.PreferenceItem.SwitchPreference(
|
||||
pref = sourcePreferences.dataSaver(),
|
||||
title = stringResource(R.string.data_saver),
|
||||
subtitle = stringResource(R.string.data_saver_summary),
|
||||
),
|
||||
Preference.PreferenceItem.EditTextPreference(
|
||||
pref = sourcePreferences.dataSaverServer(),
|
||||
title = stringResource(R.string.data_saver),
|
||||
title = stringResource(R.string.data_saver_server),
|
||||
subtitle = stringResource(R.string.data_saver_server_summary),
|
||||
enabled = dataSaver,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user