mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-21 08:21:14 +01:00
Add a black background setting for the reader
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user