add optional text shadow to widget for better readability

This commit is contained in:
tibbi
2018-03-12 00:01:20 +01:00
parent 3b5bf64066
commit c1feb66b91
11 changed files with 116 additions and 2 deletions

View File

@ -49,4 +49,8 @@ class Config(context: Context) : BaseConfig(context) {
var alarmMaxReminderSecs: Int
get() = prefs.getInt(ALARM_MAX_REMINDER_SECS, DEFAULT_MAX_ALARM_REMINDER_SECS)
set(alarmMaxReminderSecs) = prefs.edit().putInt(ALARM_MAX_REMINDER_SECS, alarmMaxReminderSecs).apply()
var useTextShadow: Boolean
get() = prefs.getBoolean(USE_TEXT_SHADOW, true)
set(useTextShadow) = prefs.edit().putBoolean(USE_TEXT_SHADOW, useTextShadow).apply()
}