diff --git a/src/Uno.Extensions.Navigation.Toolkit/ExtendedSplashScreenExtensions.cs b/src/Uno.Extensions.Navigation.Toolkit/ExtendedSplashScreenExtensions.cs index 2a54fce26c..d04afe5dbc 100644 --- a/src/Uno.Extensions.Navigation.Toolkit/ExtendedSplashScreenExtensions.cs +++ b/src/Uno.Extensions.Navigation.Toolkit/ExtendedSplashScreenExtensions.cs @@ -11,10 +11,5 @@ public static class ExtendedSplashScreenExtensions public static void Initialize(this ExtendedSplashScreen splash, Window window, LaunchActivatedEventArgs args) { splash.Window = window; -#if WINDOWS_UWP - splash.SplashScreen = args?.SplashScreen; -#elif WINDOWS - splash.SplashScreen = args?.UWPLaunchActivatedEventArgs.SplashScreen; -#endif } }