Skip to content

Commit

Permalink
chore: pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kazo0 committed Mar 11, 2024
1 parent d566948 commit a987f66
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if WINDOWS || WINDOWS_UWP || NET472_OR_GREATER || NET7_0
#if WINDOWS || WINDOWS_UWP || UNO_REFERENCE_API
using System;
using System.Linq;
using System.Threading;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,4 @@ private async Task LoadNativeSplashScreen()
SplashScreenContent = splashScreenContent;
}
}


#if !__ANDROID__ && !__IOS__ && !(WINDOWS || WINDOWS_UWP) && !NET7_0
private static Task<FrameworkElement?> GetNativeSplashScreen(SplashScreen? splashScreen)
{
return Task.FromResult<FrameworkElement?>(null);
}

public bool SplashIsEnabled => (Platforms & SplashScreenPlatform.All) != 0;
#endif

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#if !__ANDROID__ && !__IOS__ && !(WINDOWS || WINDOWS_UWP) && !UNO_REFERENCE_API
using System.Threading.Tasks;

namespace Uno.Toolkit.UI;

public partial class ExtendedSplashScreen
{
private static Task<FrameworkElement?> GetNativeSplashScreen(SplashScreen? splashScreen)
{
return Task.FromResult<FrameworkElement?>(null);
}

public bool SplashIsEnabled => (Platforms & SplashScreenPlatform.All) != 0;
}
#endif

0 comments on commit a987f66

Please sign in to comment.