Add navigation layout overlay (#4683)

* Add navigation layout overlay

* Minor clean up 

Destroy animator when done not on start
Move and change pref title 
Add summary
This commit is contained in:
Andreas
2021-03-20 20:36:01 +01:00
committed by GitHub
parent d912a42249
commit 5a7f2684b3
12 changed files with 195 additions and 0 deletions
@@ -50,6 +50,12 @@ class SettingsReaderController : SettingsController() {
summaryRes = R.string.pref_show_reading_mode_summary
defaultValue = true
}
switchPreference {
key = Keys.showNavigationOverlayOnStart
titleRes = R.string.pref_show_navigation_mode
summaryRes = R.string.pref_show_navigation_mode_summary
defaultValue = false
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
switchPreference {
key = Keys.trueColor