forked from upstream-mirrors/quik
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