Fixed hideRoomsFromRemovedProxies & hideEmptyRooms settings...
This commit is contained in:
parent
a5df96048b
commit
0d363a6868
1 changed files with 4 additions and 4 deletions
|
@ -195,15 +195,15 @@ class CorePreferences constructor(private val context: Context) {
|
|||
}
|
||||
|
||||
var hideEmptyRooms: Boolean
|
||||
get() = config.getBool("app", "hide_empty_chat_rooms", true)
|
||||
get() = config.getBool("misc", "hide_empty_chat_rooms", true)
|
||||
set(value) {
|
||||
config.setBool("app", "hide_empty_chat_rooms", value)
|
||||
config.setBool("misc", "hide_empty_chat_rooms", value)
|
||||
}
|
||||
|
||||
var hideRoomsFromRemovedProxies: Boolean
|
||||
get() = config.getBool("app", "hide_chat_rooms_from_removed_proxies", true)
|
||||
get() = config.getBool("misc", "hide_chat_rooms_from_removed_proxies", true)
|
||||
set(value) {
|
||||
config.setBool("app", "hide_chat_rooms_from_removed_proxies", value)
|
||||
config.setBool("misc", "hide_chat_rooms_from_removed_proxies", value)
|
||||
}
|
||||
|
||||
var deviceName: String
|
||||
|
|
Loading…
Reference in a new issue