mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-1407 App | Enhancement | Do not return to homescreen when closing global-search screen (#244)
This commit is contained in:
parent
ce3292c219
commit
ec3fe786b8
1 changed files with 1 additions and 5 deletions
|
@ -198,11 +198,7 @@ open class ObjectSearchViewModel(
|
|||
)
|
||||
|
||||
override fun onDialogCancelled() {
|
||||
navigateToDesktop()
|
||||
}
|
||||
|
||||
private fun navigateToDesktop() {
|
||||
navigation.postValue(EventWrapper(AppNavigation.Command.ExitToDesktop))
|
||||
navigation.postValue(EventWrapper(AppNavigation.Command.Exit))
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue