【toast】回退toast的top_most逻辑

Signed-off-by: huzhanjiang <huzhanjiang@huawei.com>
Change-Id: Iea680aa88de1d2c338d8b331b6c913f38d5d94cc
This commit is contained in:
huzhanjiang 2024-08-17 15:23:53 +08:00
parent 6334f8d129
commit ad4a219aef

View File

@ -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;
}