Add Browse to start screen options

(cherry picked from commit 3e837f8781f5e0237ed5bdcf771f4f2e64097991)
This commit is contained in:
arkon 2020-05-30 23:22:48 -04:00 committed by Jobobby04
parent 6647db747f
commit 6744f50ba6
2 changed files with 4 additions and 2 deletions

View File

@ -67,6 +67,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
}
}

View File

@ -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"
}