Rename constant and prefs key for `isArchiveAvailable`
This commit is contained in:
parent
e41630e543
commit
a31af991c5
|
@ -113,6 +113,6 @@ class Config(context: Context) : BaseConfig(context) {
|
|||
set(lastRecycleBinCheck) = prefs.edit().putLong(LAST_RECYCLE_BIN_CHECK, lastRecycleBinCheck).apply()
|
||||
|
||||
var isArchiveAvailable: Boolean
|
||||
get() = prefs.getBoolean(USE_THREADS_ARCHIVE, true)
|
||||
set(useThreadsArchive) = prefs.edit().putBoolean(USE_THREADS_ARCHIVE, useThreadsArchive).apply()
|
||||
get() = prefs.getBoolean(IS_ARCHIVE_AVAILABLE, true)
|
||||
set(useThreadsArchive) = prefs.edit().putBoolean(IS_ARCHIVE_AVAILABLE, useThreadsArchive).apply()
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ const val MESSAGE_ID = "message_id"
|
|||
const val USE_RECYCLE_BIN = "use_recycle_bin"
|
||||
const val LAST_RECYCLE_BIN_CHECK = "last_recycle_bin_check"
|
||||
const val IS_RECYCLE_BIN = "is_recycle_bin"
|
||||
const val USE_THREADS_ARCHIVE = "use_threads_archive"
|
||||
const val IS_ARCHIVE_AVAILABLE = "is_archive_available"
|
||||
|
||||
private const val PATH = "com.simplemobiletools.smsmessenger.action."
|
||||
const val MARK_AS_READ = PATH + "mark_as_read"
|
||||
|
|
Loading…
Reference in New Issue