File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ await Views[currentId].Dispatcher.RunTaskAsync(() =>
133
133
134
134
protected override async void OnLaunched ( LaunchActivatedEventArgs e )
135
135
{
136
+ Logger . LogInformation ( "Launching (PreviousExecutionState={0})" , e . PreviousExecutionState ) ;
136
137
try
137
138
{
138
139
string taskName = "SignalMessageBackgroundTask" ;
@@ -169,10 +170,6 @@ protected override async void OnLaunched(LaunchActivatedEventArgs e)
169
170
Logger . LogError ( "Cannot setup bg task: {0}\n {1}" , ex . Message , ex . StackTrace ) ;
170
171
}
171
172
172
-
173
- Logger . LogInformation ( "Launching (PreviousExecutionState={0})" , e . PreviousExecutionState ) ;
174
- Logger . LogDebug ( LocalCacheFolder . Path ) ;
175
-
176
173
bool createdMainWindow = await CreateMainWindow ( null ) ;
177
174
if ( ! createdMainWindow )
178
175
{
@@ -184,7 +181,7 @@ protected override async void OnLaunched(LaunchActivatedEventArgs e)
184
181
}
185
182
else
186
183
{
187
- await ApplicationViewSwitcher . TryShowAsStandaloneAsync ( currentId ) ;
184
+ await switcher . ShowAsStandaloneAsync ( currentId ) ;
188
185
}
189
186
}
190
187
}
You can’t perform that action at this time.
0 commit comments