diff options
author | Samantha Houts <samantha@teamredwall.com> | 2016-03-28 10:58:13 -0700 |
---|---|---|
committer | Samantha Houts <samantha@teamredwall.com> | 2016-03-28 10:58:13 -0700 |
commit | 7fdd7ed0c2d4d842226eb64131fae3146e095916 (patch) | |
tree | a57df334d19709023da1f01babdf29cedbcc5a20 /Xamarin.Forms.Platform.iOS/Renderers | |
parent | 3ab4fdc0ff6725286ee1eb26459eee6f4bb55d8c (diff) | |
parent | b3365b7f7db2ab9505d9f0c704f86dd3b24b0caa (diff) | |
download | xamarin-forms-7fdd7ed0c2d4d842226eb64131fae3146e095916.tar.gz xamarin-forms-7fdd7ed0c2d4d842226eb64131fae3146e095916.tar.bz2 xamarin-forms-7fdd7ed0c2d4d842226eb64131fae3146e095916.zip |
Merge pull request #19 from xamarin/reformatUsings
Reformat using statements
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); |