Skip to content

Commit

Permalink
[housekeeping] Automated PR to fix formatting errors (#1563)
Browse files Browse the repository at this point in the history
* Automated dotnet-format update

* Revert "Automated dotnet-format update"

This reverts commit 8eff768.

* `dotnet format`

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Brandon Minnick <[email protected]>
  • Loading branch information
github-actions[bot] and brminnick authored Feb 15, 2024
1 parent f4f8033 commit 97440cc
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion samples/CommunityToolkit.Maui.Sample/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static void RegisterViewsAndViewModels(in IServiceCollection services)
services.AddTransient<LayoutsGalleryPage, LayoutsGalleryViewModel>();
services.AddTransient<ViewsGalleryPage, ViewsGalleryViewModel>();
services.AddTransient<PlatformSpecificGalleryPage, PlatformSpecificGalleryViewModel>();


// Add Alerts Pages + ViewModels
services.AddTransientWithShellRoute<SnackbarPage, SnackbarViewModel>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
namespace CommunityToolkit.Maui.Sample.Pages;
public class PlatformSpecificGalleryPage(IDeviceInfo deviceInfo, PlatformSpecificGalleryViewModel viewModel) : BaseGalleryPage<PlatformSpecificGalleryViewModel>("Platform Specific", deviceInfo, viewModel)
{
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ public NavigationBarStyle NavigationBarStyle
throw new NotSupportedException($"{nameof(NavigationBarStyle)} {NavigationBarStyle} is not supported.");
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ public PlatformSpecificGalleryViewModel() : base(
SectionModel.Create<NavigationBarAndroidViewModel>("NavigationBar (Android)", "Change the Navigation Bar color on Android"),
])
{

}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ public static bool IsSupported(BuildVersionCodes version)
System.Diagnostics.Trace.WriteLine($"This functionality is not available. Minimum supported API is {version}");
return false;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ public static Window GetCurrentWindow(this Activity activity)
window.AddFlags(WindowManagerFlags.DrawsSystemBarBackgrounds);
return window;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public enum NavigationBarStyle
/// The dark content navigation bar style.
/// </summary>
DarkContent = 2
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ public static void MapNavigationColorProperty(IPageHandler handler, IContentView
window.SetNavigationBarColor(color);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ internal static partial void RemapForControls()

}
#endif
}
}

0 comments on commit 97440cc

Please sign in to comment.