Просмотр исходного кода

Rename sources settings to filter

arkon 5 лет назад
Родитель
Сommit
bf140be75e

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsSourcesController.kt

@@ -21,7 +21,7 @@ class SettingsSourcesController : SettingsController(),
     private val onlineSources by lazy { Injekt.get<SourceManager>().getOnlineSources() }
 
     override fun setupPreferenceScreen(screen: PreferenceScreen) = with(screen) {
-        titleRes = R.string.pref_category_sources
+        titleRes = R.string.action_filter
 
         // Get the list of active language codes.
         val activeLangsCodes = preferences.enabledLanguages().getOrDefault()

+ 3 - 2
app/src/main/res/menu/catalogue_main.xml

@@ -12,7 +12,8 @@
 
     <item
         android:id="@+id/action_settings"
-        android:icon="@drawable/ic_settings_white_24dp"
-        android:title="@string/pref_category_sources"
+        android:icon="@drawable/ic_filter_list_white_24dp"
+        android:title="@string/action_filter"
         app:showAsAction="ifRoom" />
+
 </menu>

+ 0 - 1
app/src/main/res/values/strings.xml

@@ -113,7 +113,6 @@
     <string name="pref_category_library">Library</string>
     <string name="pref_category_reader">Reader</string>
     <string name="pref_category_downloads">Downloads</string>
-    <string name="pref_category_sources">Sources</string>
     <string name="pref_category_tracking">Tracking</string>
     <string name="pref_category_advanced">Advanced</string>
     <string name="pref_category_about">About</string>