Update setter variable name for `isArchiveAvailable`

This commit is contained in:
Ensar Sarajčić 2023-10-03 10:53:33 +02:00
parent a31af991c5
commit 625b515064
1 changed files with 1 additions and 1 deletions

View File

@ -114,5 +114,5 @@ class Config(context: Context) : BaseConfig(context) {
var isArchiveAvailable: Boolean var isArchiveAvailable: Boolean
get() = prefs.getBoolean(IS_ARCHIVE_AVAILABLE, true) get() = prefs.getBoolean(IS_ARCHIVE_AVAILABLE, true)
set(useThreadsArchive) = prefs.edit().putBoolean(IS_ARCHIVE_AVAILABLE, useThreadsArchive).apply() set(isArchiveAvailable) = prefs.edit().putBoolean(IS_ARCHIVE_AVAILABLE, isArchiveAvailable).apply()
} }