mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-03-31 01:05:55 +00:00
To make sure we return real value, not untransformed one
This commit is contained in:
@@ -1490,7 +1490,7 @@ class SharedPreference<T>(val get: () -> T, set: (T) -> Unit) {
|
||||
init {
|
||||
this.set = { value ->
|
||||
set(value)
|
||||
_state.value = value
|
||||
_state.value = get()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user