Add Browse to start screen options

This commit is contained in:
arkon 2020-05-30 23:22:48 -04:00
parent 77d378ccd1
commit 3e837f8781
2 changed files with 4 additions and 2 deletions

View File

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

View File

@ -33,9 +33,10 @@ class SettingsGeneralController : SettingsController() {
entriesRes = arrayOf( entriesRes = arrayOf(
R.string.label_library, R.string.label_library,
R.string.label_recent_updates, 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" defaultValue = "1"
summary = "%s" summary = "%s"
} }