mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 07:01:24 +00:00
[bugfix]:[toast设置TOPMOST时,走DEFAULT逻辑]
Signed-off-by: miaoyu <miaoyu6@huawei.com> Change-Id: I63bb4cdb136d660834c5bf459ab33d9565505db5
This commit is contained in:
parent
c03510f7f6
commit
daa871e69c
@ -163,6 +163,10 @@ bool GetToastShowMode(napi_env env, napi_value showModeNApi, NG::ToastShowMode&
|
||||
showMode = static_cast<NG::ToastShowMode>(num);
|
||||
}
|
||||
}
|
||||
|
||||
if (showMode == NG::ToastShowMode::TOP_MOST) {
|
||||
showMode = NG::ToastShowMode::DEFAULT;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user