Add a black background setting for the reader

This commit is contained in:
inorichi
2015-12-15 13:34:14 +01:00
parent 4630a5ed1a
commit e2795f5480
8 changed files with 58 additions and 3 deletions

View File

@@ -83,6 +83,10 @@ public class PreferencesHelper {
return rxPrefs.getFloat(getKey(R.string.pref_custom_brightness_value_key), 0F);
}
public int getReaderTheme() {
return prefs.getInt(getKey(R.string.pref_reader_theme_key), 0);
}
public int getDefaultViewer() {
return Integer.parseInt(prefs.getString(getKey(R.string.pref_default_viewer_key), "1"));
}