mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
Add Browse to start screen options
This commit is contained in:
parent
77d378ccd1
commit
3e837f8781
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue