Convert rotation to FlowPreference, remove some unused subscriptions code

This commit is contained in:
arkon
2020-05-10 11:42:46 -04:00
parent a94fd24fa9
commit d46a742a43
3 changed files with 11 additions and 86 deletions

View File

@@ -92,7 +92,7 @@ class PreferencesHelper(val context: Context) {
fun themeDark() = flowPrefs.getString(Keys.themeDark, Values.THEME_DARK_DEFAULT)
fun rotation() = rxPrefs.getInteger(Keys.rotation, 1)
fun rotation() = flowPrefs.getInt(Keys.rotation, 1)
fun pageTransitions() = flowPrefs.getBoolean(Keys.enableTransitions, true)