Skip to content

Commit 0466c5f

Browse files
autoAdvanceThreadsUids is now a SingleLiveEvent so it doesn't unnecessary trigger all the time
1 parent 1d7e3c7 commit 0466c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/infomaniak/mail/ui/MainViewModel.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class MainViewModel @Inject constructor(
121121
val canInstallUpdate = MutableLiveData(false)
122122
val messageOfUserToBlock = SingleLiveEvent<Message>()
123123

124-
val autoAdvanceThreadsUids = MutableLiveData<List<String>>()
124+
val autoAdvanceThreadsUids = SingleLiveEvent<List<String>>()
125125

126126
val mailboxesLive = mailboxController.getMailboxesAsync(AccountUtils.currentUserId).asLiveData(ioCoroutineContext)
127127

0 commit comments

Comments
 (0)