Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[housekeeping] Automated PR to fix formatting errors #1012

Merged
merged 1 commit into from
May 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Controls/src/Core/UriImageSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public TimeSpan CacheValidity

public bool CachingEnabled
{
get
get
{
return false;
//return _cachingEnabled;
Expand Down
2 changes: 1 addition & 1 deletion src/Core/src/Platform/iOS/CoreGraphicsExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static CGRect ToCGRect(this Rectangle rect)
return new CGRect(rect.X, rect.Y, rect.Width, rect.Height);
}

public static bool IsCloseTo(this CGSize size0, CGSize size1, nfloat tolerance)
public static bool IsCloseTo(this CGSize size0, CGSize size1, nfloat tolerance)
{
var diff = size0 - size1;
return Math.Abs(diff.Width) < tolerance && Math.Abs(diff.Height) < tolerance;
Expand Down
4 changes: 2 additions & 2 deletions src/Core/src/Platform/iOS/MauiLabel.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using CoreGraphics;
using System;
using System;
using CoreGraphics;
using UIKit;

namespace Microsoft.Maui.Platform.iOS
Expand Down
2 changes: 1 addition & 1 deletion src/Essentials/src/Platform/Platform.android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ internal static void SetLocale(Java.Util.Locale locale)
else
#endif
#pragma warning disable CS0618 // Type or member is obsolete
config.Locale = locale;
config.Locale = locale;
#pragma warning restore CS0618 // Type or member is obsolete

#pragma warning disable CS0618 // Type or member is obsolete
Expand Down