From 3e837f8781f5e0237ed5bdcf771f4f2e64097991 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 30 May 2020 23:22:48 -0400 Subject: [PATCH] Add Browse to start screen options --- .../main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt | 1 + .../kanade/tachiyomi/ui/setting/SettingsGeneralController.kt | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt index 68064230b4..37e91bfd5c 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt @@ -53,6 +53,7 @@ class MainActivity : BaseActivity() { when (preferences.startScreen()) { 2 -> R.id.nav_history 3 -> R.id.nav_updates + 4 -> R.id.nav_browse else -> R.id.nav_library } } diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt index c2f8d54fd0..ba651b3bff 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt +++ b/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" }