mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-18 11:58:52 +01:00
Refresh conversation archive toast timer when another conversation is archived
This commit is contained in:
@@ -226,7 +226,7 @@ class MainViewModel : QkViewModel<MainView, MainState>(MainState()) {
|
||||
}
|
||||
}
|
||||
})
|
||||
.flatMap { Observable.timer(2750, TimeUnit.MILLISECONDS) }
|
||||
.switchMap { Observable.timer(2750, TimeUnit.MILLISECONDS) }
|
||||
.withLatestFrom(state, { threadId, state ->
|
||||
markArchived.execute(threadId) {
|
||||
if (state.page is Inbox) {
|
||||
|
||||
Reference in New Issue
Block a user