Merge pull request #698 from esensar/feature/177-conversations-archive
Implement archive feature for conversations using system API
This commit is contained in:
commit
0c5242df2d
70 changed files with 1241 additions and 196 deletions
|
|
@ -103,4 +103,12 @@ class Config(context: Context) : BaseConfig(context) {
|
|||
var keyboardHeight: Int
|
||||
get() = prefs.getInt(SOFT_KEYBOARD_HEIGHT, context.getDefaultKeyboardHeight())
|
||||
set(keyboardHeight) = prefs.edit().putInt(SOFT_KEYBOARD_HEIGHT, keyboardHeight).apply()
|
||||
|
||||
var useArchive: Boolean
|
||||
get() = prefs.getBoolean(USE_ARCHIVE, false)
|
||||
set(useArchive) = prefs.edit().putBoolean(USE_ARCHIVE, useArchive).apply()
|
||||
|
||||
var lastArchiveCheck: Long
|
||||
get() = prefs.getLong(LAST_ARCHIVE_CHECK, 0L)
|
||||
set(lastArchiveCheck) = prefs.edit().putLong(LAST_ARCHIVE_CHECK, lastArchiveCheck).apply()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue