Skip to content
Merged
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
7 changes: 6 additions & 1 deletion src/Files.App/Views/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
using Files.Backend.Extensions;
using Files.Backend.Services.Settings;
using Files.Shared.EventArguments;
using Microsoft.Extensions.Logging;
using Microsoft.UI.Input;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
Expand All @@ -30,6 +31,7 @@
using Windows.Services.Store;
using Windows.Storage;
using Windows.System;
using WinRT.Interop;

namespace Files.App.Views
{
Expand Down Expand Up @@ -92,7 +94,10 @@ private async Task PromptForReview()
try
{
var storeContext = StoreContext.GetDefault();
await storeContext.RequestRateAndReviewAppAsync();
InitializeWithWindow.Initialize(storeContext, App.WindowHandle);
var storeRateAndReviewResult = await storeContext.RequestRateAndReviewAppAsync();

App.Logger.LogInformation($"STORE: review request status: {storeRateAndReviewResult.Status}");

UserSettingsService.ApplicationSettingsService.ClickedToReviewApp = true;
}
Expand Down