fix copy paste mistake in PreferencesHelper.kt (#2993)

fix copy paste mistake in PreferencesHelper.kt
This commit is contained in:
Randy Palamar 2020-04-30 09:14:42 -06:00 committed by GitHub
parent e2a9c09597
commit bd61c33097
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,9 +88,9 @@ class PreferencesHelper(val context: Context) {
fun themeMode() = flowPrefs.getString(Keys.themeMode, Values.THEME_MODE_SYSTEM) fun themeMode() = flowPrefs.getString(Keys.themeMode, Values.THEME_MODE_SYSTEM)
fun themeLight() = flowPrefs.getString(Keys.themeLight, Values.THEME_DARK_DEFAULT) fun themeLight() = flowPrefs.getString(Keys.themeLight, Values.THEME_LIGHT_DEFAULT)
fun themeDark() = flowPrefs.getString(Keys.themeDark, Values.THEME_LIGHT_DEFAULT) fun themeDark() = flowPrefs.getString(Keys.themeDark, Values.THEME_DARK_DEFAULT)
fun rotation() = rxPrefs.getInteger(Keys.rotation, 1) fun rotation() = rxPrefs.getInteger(Keys.rotation, 1)