diff --git a/src/Uno.Playground.Shared/App.xaml.cs b/src/Uno.Playground.Shared/App.xaml.cs index 3be895d..6498a51 100644 --- a/src/Uno.Playground.Shared/App.xaml.cs +++ b/src/Uno.Playground.Shared/App.xaml.cs @@ -118,9 +118,6 @@ protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs e) Console.WriteLine("launched!"); SetupAppCenter(); -#if __WASM__ - ApplicationView.GetForCurrentView().Title = "Uno Playground"; -#endif #if DEBUG if (System.Diagnostics.Debugger.IsAttached) { @@ -156,6 +153,10 @@ protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs e) Microsoft.UI.Xaml.Window.Current.Content = _rootFrame; } +#if HAS_UNO + Microsoft.UI.Xaml.Window.Current.Title = "Uno Playground"; +#endif + if (e.UWPLaunchActivatedEventArgs.PrelaunchActivated == false) { if (_rootFrame.Content == null)