summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android/ContextExtensions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Android/ContextExtensions.cs')
-rw-r--r--Xamarin.Forms.Platform.Android/ContextExtensions.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Android/ContextExtensions.cs b/Xamarin.Forms.Platform.Android/ContextExtensions.cs
index 9a22c570..b3a219fd 100644
--- a/Xamarin.Forms.Platform.Android/ContextExtensions.cs
+++ b/Xamarin.Forms.Platform.Android/ContextExtensions.cs
@@ -34,7 +34,7 @@ namespace Xamarin.Forms.Platform.Android
internal static double GetThemeAttributeDp(this Context self, int resource)
{
- using(var value = new TypedValue())
+ using (var value = new TypedValue())
{
if (!self.Theme.ResolveAttribute(resource, value, true))
return -1;
@@ -51,7 +51,7 @@ namespace Xamarin.Forms.Platform.Android
if (s_displayDensity != float.MinValue)
return;
- using(DisplayMetrics metrics = context.Resources.DisplayMetrics)
+ using (DisplayMetrics metrics = context.Resources.DisplayMetrics)
s_displayDensity = metrics.Density;
}
}