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 #1234

Merged
merged 1 commit into from
Jun 10, 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/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