mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 07:01:24 +00:00
!40124 【Toast】修复toast解析阴影时无法解析的bug
Merge pull request !40124 from 胡占江/hzj_toast_0810_01
This commit is contained in:
commit
8b1a710dfb
@ -240,7 +240,7 @@ bool GetShadowFromTheme(ShadowStyle shadowStyle, Shadow& shadow)
|
||||
if (shadowStyle == ShadowStyle::None) {
|
||||
return true;
|
||||
}
|
||||
auto container = Container::Current();
|
||||
auto container = Container::CurrentSafelyWithCheck();
|
||||
CHECK_NULL_RETURN(container, false);
|
||||
auto pipelineContext = container->GetPipelineContext();
|
||||
CHECK_NULL_RETURN(pipelineContext, false);
|
||||
|
Loading…
Reference in New Issue
Block a user