Update Config.kt

This commit is contained in:
Tibor Kaputa
2021-08-25 18:44:45 +02:00
committed by GitHub
parent bb7178bee6
commit 2ecca969f1

View File

@@ -20,7 +20,7 @@ class Config(context: Context) : BaseConfig(context) {
var enableDeliveryReports: Boolean var enableDeliveryReports: Boolean
get() = prefs.getBoolean(ENABLE_DELIVERY_REPORTS, true) get() = prefs.getBoolean(ENABLE_DELIVERY_REPORTS, true)
set(showCharacterCounter) = prefs.edit().putBoolean(ENABLE_DELIVERY_REPORTS, showCharacterCounter).apply() set(enableDeliveryReports) = prefs.edit().putBoolean(ENABLE_DELIVERY_REPORTS, enableDeliveryReports).apply()
var lockScreenVisibilitySetting: Int var lockScreenVisibilitySetting: Int
get() = prefs.getInt(LOCK_SCREEN_VISIBILITY, LOCK_SCREEN_SENDER_MESSAGE) get() = prefs.getInt(LOCK_SCREEN_VISIBILITY, LOCK_SCREEN_SENDER_MESSAGE)