mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
fix: close memory usage view on back press
This commit is contained in:
@@ -156,6 +156,8 @@ abstract class BaseEditorActivity : EdgeToEdgeIDEActivity(), TabLayout.OnTabSele
|
||||
binding.root.closeDrawer(GravityCompat.START)
|
||||
} else if (editorBottomSheet?.state != BottomSheetBehavior.STATE_COLLAPSED) {
|
||||
editorBottomSheet?.setState(BottomSheetBehavior.STATE_COLLAPSED)
|
||||
} else if (binding.swipeReveal.isOpen) {
|
||||
binding.swipeReveal.close()
|
||||
} else {
|
||||
doConfirmProjectClose()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user