Skip to content

Commit

Permalink
fix(NativeApplication): don't call OnLaunched again if app is already…
Browse files Browse the repository at this point in the history
… running (i.e. when focus is regained)
  • Loading branch information
LHuss committed Sep 28, 2020
1 parent e697fa3 commit f3ba2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.UI/UI/Xaml/NativeApplication.cs
Expand Up @@ -74,7 +74,7 @@ private void OnActivityStarted(Activity activity)
}

// default to normal launch
if (!handled)
if (!handled && !_isRunning)
{
_app.OnLaunched(new LaunchActivatedEventArgs());
}
Expand Down

0 comments on commit f3ba2b6

Please sign in to comment.