Added config to hide transition page when not needed (#2682)

* Added config to hide transition page when not needed

* Moved always_show_chapter_transition setting to General group
This commit is contained in:
morcefaster
2020-03-09 20:36:29 +02:00
committed by GitHub
parent bd2dfaad2e
commit 9936b402a6
12 changed files with 64 additions and 9 deletions

View File

@@ -133,6 +133,8 @@ object PreferenceKeys {
const val downloadBadge = "display_download_badge"
const val alwaysShowChapterTransition = "always_show_chapter_transition"
fun trackUsername(syncId: Int) = "pref_mangasync_username_$syncId"
fun trackPassword(syncId: Int) = "pref_mangasync_password_$syncId"

View File

@@ -203,4 +203,6 @@ class PreferencesHelper(val context: Context) {
fun migrateFlags() = rxPrefs.getInteger("migrate_flags", Int.MAX_VALUE)
fun trustedSignatures() = rxPrefs.getStringSet("trusted_signatures", emptySet())
fun alwaysShowChapterTransition() = rxPrefs.getBoolean(Keys.alwaysShowChapterTransition, true)
}