mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 02:37:46 +00:00
Dont reassign messageRequests if value didn't change
This commit is contained in:
parent
4fab64e6ee
commit
69c50e6822
@ -30,6 +30,7 @@ class HomeAdapter(
|
||||
|
||||
var messageRequests: HomeViewModel.MessageRequests? = null
|
||||
set(value) {
|
||||
if (field == value) return
|
||||
val hadHeader = hasHeaderView()
|
||||
field = value
|
||||
if (value != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user