From 579a462cc9e77a9d9f3388fb8b1ff9043db7ccdd Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Wed, 31 Jan 2024 19:11:38 -0600 Subject: [PATCH] Revert "Show in-app rating prompt" This reverts commit e4d9d6519daa6a864da24ea8efbf9a48ce84a763. This library does not correctly support .NET 8 yet, but a commit has been pushed for that very thing https://github.com/FabriBertani/Plugin.Maui.AppRating/commit/72b99a42f1ab25c09168dfc9b3c21f208490bbc6 so we just need to wait and then we'll be able to merge this again --- JournalApp/App.xaml.cs | 2 +- JournalApp/Components/Pages/Index.razor | 4 --- JournalApp/Data/AppRatingService.cs | 46 ------------------------- JournalApp/JournalApp.csproj | 1 - JournalApp/MauiProgram.cs | 3 -- JournalApp/Resources/Raw/Credits.txt | 25 -------------- 6 files changed, 1 insertion(+), 80 deletions(-) delete mode 100644 JournalApp/Data/AppRatingService.cs diff --git a/JournalApp/App.xaml.cs b/JournalApp/App.xaml.cs index 7fe793d..12c93df 100644 --- a/JournalApp/App.xaml.cs +++ b/JournalApp/App.xaml.cs @@ -17,7 +17,7 @@ public App() public static (DateTimeOffset LeftAt, DateOnly LastDate)? IndexDateState { get; set; } - public static int LaunchCount + public int LaunchCount { get => Preferences.Get("launches", 0); set => Preferences.Set("launches", value); diff --git a/JournalApp/Components/Pages/Index.razor b/JournalApp/Components/Pages/Index.razor index ca16e53..eaf85cb 100644 --- a/JournalApp/Components/Pages/Index.razor +++ b/JournalApp/Components/Pages/Index.razor @@ -10,7 +10,6 @@ @inject KeyEventService KeyEventService @inject NavigationManager NavigationManager @inject IScrollManager ScrollManager -@inject AppRatingService AppRatingService