File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1515using Files . Backend . Extensions ;
1616using Files . Backend . Services . Settings ;
1717using Files . Shared . EventArguments ;
18+ using Microsoft . Extensions . Logging ;
1819using Microsoft . UI . Input ;
1920using Microsoft . UI . Xaml ;
2021using Microsoft . UI . Xaml . Controls ;
3031using Windows . Services . Store ;
3132using Windows . Storage ;
3233using Windows . System ;
34+ using WinRT . Interop ;
3335
3436namespace Files . App . Views
3537{
@@ -92,7 +94,10 @@ private async Task PromptForReview()
9294 try
9395 {
9496 var storeContext = StoreContext . GetDefault ( ) ;
95- await storeContext . RequestRateAndReviewAppAsync ( ) ;
97+ InitializeWithWindow . Initialize ( storeContext , App . WindowHandle ) ;
98+ var storeRateAndReviewResult = await storeContext . RequestRateAndReviewAppAsync ( ) ;
99+
100+ App . Logger . LogInformation ( $ "STORE: review request status: { storeRateAndReviewResult . Status } ") ;
96101
97102 UserSettingsService . ApplicationSettingsService . ClickedToReviewApp = true ;
98103 }
You can’t perform that action at this time.
0 commit comments