未验证 提交 78d8e780 编写于 作者: N Nick Randolph 提交者: GitHub

chore: tidy up

Co-authored-by: NYoussef Victor <youssefvictor00@gmail.com>
上级 4eec67f6
......@@ -69,10 +69,7 @@ namespace Windows.UI.Xaml
if (Uno.UI.ContextHelper.Current is Android.App.Activity activity)
{
_decor = activity.Window.DecorView;
if (_decor is not null)
{
_decor.ViewTreeObserver.AddOnPreDrawListener(_preDrawListener);
}
_decor?.ViewTreeObserver.AddOnPreDrawListener(_preDrawListener);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册