optimize: remove unnecessary bindable objects
This commit is contained in:
		@@ -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