mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-16 19:18:52 +01:00
Fix drawer glitch with archived toast
This commit is contained in:
@@ -69,8 +69,7 @@ class MainViewModel : QkViewModel<MainView, MainState>(MainState()) {
|
||||
.subscribe { navigator.showCompose() }
|
||||
|
||||
intents += view.drawerOpenIntent
|
||||
.filter { it }
|
||||
.subscribe { newState { it.copy(drawerOpen = true) } }
|
||||
.subscribe { open -> newState { it.copy(drawerOpen = open) } }
|
||||
|
||||
intents += view.drawerItemIntent
|
||||
.doOnNext { newState { it.copy(drawerOpen = false) } }
|
||||
|
||||
Reference in New Issue
Block a user