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 15
15
using Files . Backend . Extensions ;
16
16
using Files . Backend . Services . Settings ;
17
17
using Files . Shared . EventArguments ;
18
+ using Microsoft . Extensions . Logging ;
18
19
using Microsoft . UI . Input ;
19
20
using Microsoft . UI . Xaml ;
20
21
using Microsoft . UI . Xaml . Controls ;
30
31
using Windows . Services . Store ;
31
32
using Windows . Storage ;
32
33
using Windows . System ;
34
+ using WinRT . Interop ;
33
35
34
36
namespace Files . App . Views
35
37
{
@@ -92,7 +94,10 @@ private async Task PromptForReview()
92
94
try
93
95
{
94
96
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 } ") ;
96
101
97
102
UserSettingsService . ApplicationSettingsService . ClickedToReviewApp = true ;
98
103
}
You can’t perform that action at this time.
0 commit comments