1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-1526 Set | Fix | Hide bottom toolbar on back pressed (#196)

This commit is contained in:
Konstantin Ivanov 2023-07-13 19:28:10 +02:00 committed by uburoiubu
parent a104e8a446
commit 073d92e44a
No known key found for this signature in database
GPG key ID: C8FB80E0A595FBB6

View file

@ -1063,7 +1063,11 @@ open class ObjectSetFragment :
if (childFragmentManager.backStackEntryCount > 0) {
childFragmentManager.popBackStack()
} else {
vm.onSystemBackPressed()
if (vm.isCustomizeViewPanelVisible.value) {
vm.onHideViewerCustomizeSwiped()
} else {
vm.onSystemBackPressed()
}
}
}
}