arkon 4 жил өмнө
parent
commit
e06a488af8

+ 9 - 0
app/src/main/java/eu/kanade/tachiyomi/ui/more/MoreController.kt

@@ -11,6 +11,7 @@ import eu.kanade.tachiyomi.data.preference.PreferenceKeys as Keys
 import eu.kanade.tachiyomi.ui.base.controller.NoToolbarElevationController
 import eu.kanade.tachiyomi.ui.base.controller.RootController
 import eu.kanade.tachiyomi.ui.base.controller.withFadeTransaction
+import eu.kanade.tachiyomi.ui.category.CategoryController
 import eu.kanade.tachiyomi.ui.download.DownloadController
 import eu.kanade.tachiyomi.ui.setting.SettingsController
 import eu.kanade.tachiyomi.ui.setting.SettingsMainController
@@ -66,6 +67,14 @@ class MoreController :
                     router.pushController(DownloadController().withFadeTransaction())
                 }
             }
+            preference {
+                titleRes = R.string.label_categories
+                iconRes = R.drawable.ic_label_24dp
+                iconTint = tintColor
+                onClick {
+                    router.pushController(CategoryController().withFadeTransaction())
+                }
+            }
         }
 
         preferenceCategory {

+ 2 - 2
app/src/main/res/values/strings.xml

@@ -638,8 +638,8 @@
     <string name="information_no_downloads">No downloads</string>
     <string name="information_no_recent">No recent updates</string>
     <string name="information_no_recent_manga">Nothing read recently</string>
-    <string name="information_empty_library">Your library is empty, add series to your library from Browse.</string>
-    <string name="information_empty_category">You have no categories. Hit the plus button to create one for organizing your library.</string>
+    <string name="information_empty_library">Your library is empty. Add series to your library from Browse.</string>
+    <string name="information_empty_category">You have no categories. Tap the plus button to create one for organizing your library.</string>
     <string name="information_cloudflare_bypass_failure">Failed to bypass Cloudflare</string>
     <string name="information_webview_required">WebView is required for Tachiyomi</string>
     <string name="information_webview_outdated">Please update the WebView app for better compatibility</string>