Add setting to hide message content in notification
This commit is contained in:
parent
7cb605ce58
commit
17c300be7e
6 changed files with 98 additions and 14 deletions
|
|
@ -17,4 +17,8 @@ class Config(context: Context) : BaseConfig(context) {
|
|||
var showCharacterCounter: Boolean
|
||||
get() = prefs.getBoolean(SHOW_CHARACTER_COUNTER, false)
|
||||
set(showCharacterCounter) = prefs.edit().putBoolean(SHOW_CHARACTER_COUNTER, showCharacterCounter).apply()
|
||||
|
||||
var notificationSetting: Int
|
||||
get() = prefs.getInt(CONFIGURATION_NOTIFICATION_SETTING, CONFIGURE_NAME_AND_MESSAGE)
|
||||
set(size) = prefs.edit().putInt(CONFIGURATION_NOTIFICATION_SETTING, size).apply()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue