lets disable button vibrations by default

This commit is contained in:
tibbi 2018-03-08 18:27:09 +01:00
parent 3cfd8f5f70
commit bb4d72fba6

View file

@ -209,6 +209,6 @@ open class BaseConfig(val context: Context) {
set(snoozeDelay) = prefs.edit().putInt(SNOOZE_TIME, snoozeDelay).apply()
var vibrateOnButtonPress: Boolean
get() = prefs.getBoolean(VIBRATE_ON_BUTTON_PRESS, true)
get() = prefs.getBoolean(VIBRATE_ON_BUTTON_PRESS, false)
set(vibrateOnButton) = prefs.edit().putBoolean(VIBRATE_ON_BUTTON_PRESS, vibrateOnButton).apply()
}