diff --git a/samples/CommunityToolkit.Maui.Sample/MauiProgram.cs b/samples/CommunityToolkit.Maui.Sample/MauiProgram.cs index 5497bcad2..6187b9586 100644 --- a/samples/CommunityToolkit.Maui.Sample/MauiProgram.cs +++ b/samples/CommunityToolkit.Maui.Sample/MauiProgram.cs @@ -86,7 +86,7 @@ static void RegisterViewsAndViewModels(in IServiceCollection services) services.AddTransient(); services.AddTransient(); services.AddTransient(); - + // Add Alerts Pages + ViewModels services.AddTransientWithShellRoute(); diff --git a/samples/CommunityToolkit.Maui.Sample/Pages/PlatformSpecific/PlatformSpecificGalleryPage.cs b/samples/CommunityToolkit.Maui.Sample/Pages/PlatformSpecific/PlatformSpecificGalleryPage.cs index 5e025ebea..7be16e08a 100644 --- a/samples/CommunityToolkit.Maui.Sample/Pages/PlatformSpecific/PlatformSpecificGalleryPage.cs +++ b/samples/CommunityToolkit.Maui.Sample/Pages/PlatformSpecific/PlatformSpecificGalleryPage.cs @@ -3,4 +3,4 @@ namespace CommunityToolkit.Maui.Sample.Pages; public class PlatformSpecificGalleryPage(IDeviceInfo deviceInfo, PlatformSpecificGalleryViewModel viewModel) : BaseGalleryPage("Platform Specific", deviceInfo, viewModel) { -} +} \ No newline at end of file diff --git a/samples/CommunityToolkit.Maui.Sample/ViewModels/PlatformSpecific/NavigationBarAndroidViewModel.cs b/samples/CommunityToolkit.Maui.Sample/ViewModels/PlatformSpecific/NavigationBarAndroidViewModel.cs index c8f68415a..114596f52 100644 --- a/samples/CommunityToolkit.Maui.Sample/ViewModels/PlatformSpecific/NavigationBarAndroidViewModel.cs +++ b/samples/CommunityToolkit.Maui.Sample/ViewModels/PlatformSpecific/NavigationBarAndroidViewModel.cs @@ -34,4 +34,4 @@ public NavigationBarStyle NavigationBarStyle throw new NotSupportedException($"{nameof(NavigationBarStyle)} {NavigationBarStyle} is not supported."); } } -} +} \ No newline at end of file diff --git a/samples/CommunityToolkit.Maui.Sample/ViewModels/PlatformSpecific/PlatformSpecificGalleryViewModel.cs b/samples/CommunityToolkit.Maui.Sample/ViewModels/PlatformSpecific/PlatformSpecificGalleryViewModel.cs index e5dd7ee0f..8936e13ce 100644 --- a/samples/CommunityToolkit.Maui.Sample/ViewModels/PlatformSpecific/PlatformSpecificGalleryViewModel.cs +++ b/samples/CommunityToolkit.Maui.Sample/ViewModels/PlatformSpecific/PlatformSpecificGalleryViewModel.cs @@ -9,6 +9,6 @@ public PlatformSpecificGalleryViewModel() : base( SectionModel.Create("NavigationBar (Android)", "Change the Navigation Bar color on Android"), ]) { - + } -} +} \ No newline at end of file diff --git a/src/CommunityToolkit.Maui.Core/Extensions/AndroidSystemExtensions.android.cs b/src/CommunityToolkit.Maui.Core/Extensions/AndroidSystemExtensions.android.cs index c11594b9f..ddeb28b98 100644 --- a/src/CommunityToolkit.Maui.Core/Extensions/AndroidSystemExtensions.android.cs +++ b/src/CommunityToolkit.Maui.Core/Extensions/AndroidSystemExtensions.android.cs @@ -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; } -} +} \ No newline at end of file diff --git a/src/CommunityToolkit.Maui.Core/Extensions/WindowExtensions.android.cs b/src/CommunityToolkit.Maui.Core/Extensions/WindowExtensions.android.cs index dfe5255e5..1bbb8333c 100644 --- a/src/CommunityToolkit.Maui.Core/Extensions/WindowExtensions.android.cs +++ b/src/CommunityToolkit.Maui.Core/Extensions/WindowExtensions.android.cs @@ -21,4 +21,4 @@ public static Window GetCurrentWindow(this Activity activity) window.AddFlags(WindowManagerFlags.DrawsSystemBarBackgrounds); return window; } -} +} \ No newline at end of file diff --git a/src/CommunityToolkit.Maui/PlatformConfiguration/AndroidSpecific/Models/NavigationBarStyle.cs b/src/CommunityToolkit.Maui/PlatformConfiguration/AndroidSpecific/Models/NavigationBarStyle.cs index c65b1e219..213fa9ecd 100644 --- a/src/CommunityToolkit.Maui/PlatformConfiguration/AndroidSpecific/Models/NavigationBarStyle.cs +++ b/src/CommunityToolkit.Maui/PlatformConfiguration/AndroidSpecific/Models/NavigationBarStyle.cs @@ -19,4 +19,4 @@ public enum NavigationBarStyle /// The dark content navigation bar style. /// DarkContent = 2 -} +} \ No newline at end of file diff --git a/src/CommunityToolkit.Maui/PlatformConfiguration/AndroidSpecific/NavigationBar.Impl.android.cs b/src/CommunityToolkit.Maui/PlatformConfiguration/AndroidSpecific/NavigationBar.Impl.android.cs index a0c3afb5e..3c71d57e8 100644 --- a/src/CommunityToolkit.Maui/PlatformConfiguration/AndroidSpecific/NavigationBar.Impl.android.cs +++ b/src/CommunityToolkit.Maui/PlatformConfiguration/AndroidSpecific/NavigationBar.Impl.android.cs @@ -75,4 +75,4 @@ public static void MapNavigationColorProperty(IPageHandler handler, IContentView window.SetNavigationBarColor(color); } -} +} \ No newline at end of file diff --git a/src/CommunityToolkit.Maui/PlatformConfiguration/AndroidSpecific/NavigationBar.Properties.cs b/src/CommunityToolkit.Maui/PlatformConfiguration/AndroidSpecific/NavigationBar.Properties.cs index 801a434e2..7e44f6b33 100644 --- a/src/CommunityToolkit.Maui/PlatformConfiguration/AndroidSpecific/NavigationBar.Properties.cs +++ b/src/CommunityToolkit.Maui/PlatformConfiguration/AndroidSpecific/NavigationBar.Properties.cs @@ -110,4 +110,4 @@ internal static partial void RemapForControls() } #endif -} +} \ No newline at end of file