mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-27 17:21:11 +00:00
commit
f708967784
@ -549,6 +549,7 @@ void SubwindowManager::HideDialogSubWindow(int32_t instanceId)
|
||||
auto subwindow = GetSubwindow(instanceId >= MIN_SUBCONTAINER_ID ? GetParentContainerId(instanceId) : instanceId);
|
||||
CHECK_NULL_VOID(subwindow);
|
||||
auto overlay = subwindow->GetOverlayManager();
|
||||
CHECK_NULL_VOID(overlay);
|
||||
if (overlay->GetDialogMap().size() == 0) {
|
||||
subwindow->HideSubWindowNG();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user