mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +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…
Reference in New Issue
Block a user