diff options
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/Renderers')
-rw-r--r-- | Xamarin.Forms.Platform.iOS/Renderers/BoxRenderer.cs | 2 | ||||
-rw-r--r-- | Xamarin.Forms.Platform.iOS/Renderers/NavigationMenuRenderer.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Renderers/BoxRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/BoxRenderer.cs index f60ed6c1..ad408c1f 100644 --- a/Xamarin.Forms.Platform.iOS/Renderers/BoxRenderer.cs +++ b/Xamarin.Forms.Platform.iOS/Renderers/BoxRenderer.cs @@ -28,7 +28,7 @@ namespace Xamarin.Forms.Platform.iOS public override void Draw(RectangleF rect) { - using(var context = UIGraphics.GetCurrentContext()) + using (var context = UIGraphics.GetCurrentContext()) { _colorToRenderer.SetFill(); context.FillRect(rect); diff --git a/Xamarin.Forms.Platform.iOS/Renderers/NavigationMenuRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/NavigationMenuRenderer.cs index 7136a61d..b3269927 100644 --- a/Xamarin.Forms.Platform.iOS/Renderers/NavigationMenuRenderer.cs +++ b/Xamarin.Forms.Platform.iOS/Renderers/NavigationMenuRenderer.cs @@ -43,7 +43,7 @@ namespace Xamarin.Forms.Platform.iOS MinimumLineSpacing = margin }) { DataSource = new DataSource((NavigationMenu)Element), BackgroundColor = UIColor.White }; - using(var navigationCellId = new NSString("NavigationCell")) + using (var navigationCellId = new NSString("NavigationCell")) _collectionView.RegisterClassForCell(typeof(NavigationCell), navigationCellId); SetNativeControl(_collectionView); |