Browse Source

Add Browse to start screen options

arkon 4 years ago
parent
commit
3e837f8781

+ 1 - 0
app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt

@@ -53,6 +53,7 @@ class MainActivity : BaseActivity<MainActivityBinding>() {
         when (preferences.startScreen()) {
             2 -> R.id.nav_history
             3 -> R.id.nav_updates
+            4 -> R.id.nav_browse
             else -> R.id.nav_library
         }
     }

+ 3 - 2
app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt

@@ -33,9 +33,10 @@ class SettingsGeneralController : SettingsController() {
             entriesRes = arrayOf(
                 R.string.label_library,
                 R.string.label_recent_updates,
-                R.string.label_recent_manga
+                R.string.label_recent_manga,
+                R.string.browse
             )
-            entryValues = arrayOf("1", "3", "2")
+            entryValues = arrayOf("1", "3", "2", "4")
             defaultValue = "1"
             summary = "%s"
         }