fix, the session image covers android toolbar

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-09-04 14:17:54 +08:00
parent eee47eae61
commit ea41a60057
5 changed files with 35 additions and 18 deletions

View File

@@ -614,6 +614,7 @@ class OverlayDialogManager {
int _tagCount = 0;
OverlayEntry? _mobileActionsOverlayEntry;
RxBool mobileActionsOverlayVisible = false.obs;
void setOverlayState(OverlayKeyState overlayKeyState) {
_overlayKeyState = overlayKeyState;
@@ -780,12 +781,14 @@ class OverlayDialogManager {
});
overlayState.insert(overlay);
_mobileActionsOverlayEntry = overlay;
mobileActionsOverlayVisible.value = true;
}
void hideMobileActionsOverlay() {
if (_mobileActionsOverlayEntry != null) {
_mobileActionsOverlayEntry!.remove();
_mobileActionsOverlayEntry = null;
mobileActionsOverlayVisible.value = false;
return;
}
}