diff --git a/RBLNews.Maui/MauiProgram.cs b/RBLNews.Maui/MauiProgram.cs index 699e3dd..4ed9d99 100644 --- a/RBLNews.Maui/MauiProgram.cs +++ b/RBLNews.Maui/MauiProgram.cs @@ -1,4 +1,5 @@ -using Microsoft.Extensions.DependencyInjection.Extensions; +using CommunityToolkit.Maui; +using CommunityToolkit.Maui.Markup; using Microsoft.Extensions.Logging; using RBLNews.Shared.Services; @@ -11,6 +12,8 @@ namespace RBLNews.Maui var builder = MauiApp.CreateBuilder(); builder .UseMauiApp() + .UseMauiCommunityToolkit() + .UseMauiCommunityToolkitMarkup() .ConfigureFonts(fonts => { //fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); @@ -25,7 +28,7 @@ namespace RBLNews.Maui #if DEBUG builder.Services.AddBlazorWebViewDeveloperTools(); - builder.Logging.AddDebug(); + builder.Logging.AddDebug(); #endif return builder.Build(); diff --git a/RBLNews.Maui/Platforms/Android/AndroidManifest.xml b/RBLNews.Maui/Platforms/Android/AndroidManifest.xml index e84d4ab..15aa1bf 100644 --- a/RBLNews.Maui/Platforms/Android/AndroidManifest.xml +++ b/RBLNews.Maui/Platforms/Android/AndroidManifest.xml @@ -1,6 +1,6 @@  - - + + diff --git a/RBLNews.Maui/RBLNews.Maui.csproj b/RBLNews.Maui/RBLNews.Maui.csproj index 1baced5..e7ab409 100644 --- a/RBLNews.Maui/RBLNews.Maui.csproj +++ b/RBLNews.Maui/RBLNews.Maui.csproj @@ -74,6 +74,8 @@ + + diff --git a/RBLNews.Maui/wwwroot/android-chrome-192x192.png b/RBLNews.Maui/wwwroot/android-chrome-192x192.png new file mode 100644 index 0000000..04fcc2f Binary files /dev/null and b/RBLNews.Maui/wwwroot/android-chrome-192x192.png differ diff --git a/RBLNews.Maui/wwwroot/android-chrome-512x512.png b/RBLNews.Maui/wwwroot/android-chrome-512x512.png new file mode 100644 index 0000000..437d3a8 Binary files /dev/null and b/RBLNews.Maui/wwwroot/android-chrome-512x512.png differ diff --git a/RBLNews.Maui/wwwroot/apple-touch-icon.png b/RBLNews.Maui/wwwroot/apple-touch-icon.png new file mode 100644 index 0000000..85451d1 Binary files /dev/null and b/RBLNews.Maui/wwwroot/apple-touch-icon.png differ diff --git a/RBLNews.Maui/wwwroot/favicon-16x16.png b/RBLNews.Maui/wwwroot/favicon-16x16.png new file mode 100644 index 0000000..ddc182d Binary files /dev/null and b/RBLNews.Maui/wwwroot/favicon-16x16.png differ diff --git a/RBLNews.Maui/wwwroot/favicon-32x32.png b/RBLNews.Maui/wwwroot/favicon-32x32.png new file mode 100644 index 0000000..5d2560d Binary files /dev/null and b/RBLNews.Maui/wwwroot/favicon-32x32.png differ diff --git a/RBLNews.Maui/wwwroot/favicon.ico b/RBLNews.Maui/wwwroot/favicon.ico new file mode 100644 index 0000000..e8ad709 Binary files /dev/null and b/RBLNews.Maui/wwwroot/favicon.ico differ diff --git a/RBLNews.Maui/wwwroot/index.html b/RBLNews.Maui/wwwroot/index.html index 88f9791..c75fc64 100644 --- a/RBLNews.Maui/wwwroot/index.html +++ b/RBLNews.Maui/wwwroot/index.html @@ -3,7 +3,7 @@ - RBLNews.Maui + RBL News @@ -13,14 +13,14 @@ - +
-
Loading...
+
Initialisiere
An unhandled error has occurred. diff --git a/RBLNews.Shared/Components/Layout/NavMenu.razor b/RBLNews.Shared/Components/Layout/NavMenu.razor index 89ffe3d..ac75c2a 100644 --- a/RBLNews.Shared/Components/Layout/NavMenu.razor +++ b/RBLNews.Shared/Components/Layout/NavMenu.razor @@ -3,9 +3,9 @@ @inject IFeedDataService feedDataService