Add an overlay on top of the reader to simulate a lower brightness. Closes #362

This commit is contained in:
len
2016-07-07 23:18:22 +02:00
parent a32e0e4ec5
commit f15df40a54
7 changed files with 52 additions and 20 deletions

View File

@@ -48,7 +48,7 @@ class PreferencesHelper(context: Context) {
fun customBrightness() = rxPrefs.getBoolean(keys.customBrightness, false)
fun customBrightnessValue() = rxPrefs.getFloat(keys.customBrightnessValue, 0f)
fun customBrightnessValue() = rxPrefs.getInteger(keys.customBrightnessValue, 0)
fun defaultViewer() = prefs.getInt(keys.defaultViewer, 1)