mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 07:01:24 +00:00
【toast】回退toast的top_most逻辑
Signed-off-by: huzhanjiang <huzhanjiang@huawei.com> Change-Id: Iea680aa88de1d2c338d8b331b6c913f38d5d94cc
This commit is contained in:
parent
6334f8d129
commit
ad4a219aef
@ -156,10 +156,6 @@ 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