optimize: remove unnecessary bindable objects
This commit is contained in:
1 parent
f6dbec2fda
commit
08ad76d8de
16 files changed
+148
-85
No files matched your search
@@ -20,6 +20,7 @@ namespace Pixiview.iOS.Renderers
|
||||
if (renderer is ShellSectionRenderer sr && Element is AppShell shell)
|
||||
{
|
||||
shell.SetNavigationBarHeight(sr.NavigationBar.Frame.Height);
|
||||
shell.SetStatusBarHeight(UIApplication.SharedApplication.StatusBarFrame.Height);
|
||||
}
|
||||
return renderer;
|
||||
}
|
||||
|
||||
@@ -32,6 +32,7 @@ namespace Pixiview.iOS.Renderers
|
||||
|
||||
if (e.NewElement != null)
|
||||
{
|
||||
e.NewElement.BackgroundColor = Color.Default;
|
||||
if (Control == null)
|
||||
{
|
||||
var blur = UIBlurEffect.FromStyle(UIBlurEffectStyle.SystemMaterial);
|
||||
|
||||
Reference in new issue
Block a user