Skip to content

Commit

Permalink
Automated dotnet-format update (#1234)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Jun 10, 2021
1 parent beb7deb commit f399f38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Core/src/Layouts/LayoutExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static Rectangle ComputeFrame(this IFrameworkElement frameworkElement, Re
// then we want the width of the entire bounds
consumedWidth = bounds.Width;
}

// And the actual frame width needs to subtract the margins
var frameWidth = Math.Max(0, consumedWidth - margin.HorizontalThickness);

Expand Down
2 changes: 1 addition & 1 deletion src/Core/src/Platform/Android/SearchViewExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static void UpdateCancelButtonColor(this SearchView searchView, ISearchBa
return;

var searchCloseButtonIdentifier = Resource.Id.search_close_btn;

if (searchCloseButtonIdentifier > 0)
{
var image = searchView.FindViewById<ImageView>(searchCloseButtonIdentifier);
Expand Down

0 comments on commit f399f38

Please sign in to comment.