Skip to content

Commit

Permalink
fix: add validion to check if there's UnoSplashScreen
Browse files Browse the repository at this point in the history
  • Loading branch information
pictos committed Oct 9, 2023
1 parent c75fbe3 commit cfacecd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/.nuspec/Uno.Resizetizer.android.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Name="GenerateUnoSplashAndroid"
AfterTargets="GenerateUnoSplashScreens"
DependsOnTargets="GenerateUnoSplashScreens"
Condition="'$(DesignTimeBuild)' != 'True'">
Condition="'$(DesignTimeBuild)' != 'True' And '@(UnoSplashScreen)' != ''">
<!-- Android -->
<GenerateSplashAndroidResources_v0
IntermediateOutputPath="$(_UnoIntermediateSplashScreen)"
Expand Down
2 changes: 1 addition & 1 deletion src/.nuspec/Uno.Resizetizer.apple.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Name="GenerateUnoSplashApple"
AfterTargets="GenerateUnoSplashScreens"
DependsOnTargets="GenerateUnoSplashScreens"
Condition="'$(DesignTimeBuild)' != 'True'">
Condition="'$(DesignTimeBuild)' != 'True' And '@(UnoSplashScreen)' != ''">
<!-- iOS, but not Catalyst -->
<GenerateSplashStoryboard_v0
Condition="'$(TargetPlatformIdentifier)' != 'maccatalyst'"
Expand Down
2 changes: 1 addition & 1 deletion src/.nuspec/Uno.Resizetizer.windows.skia.targets
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Name="GenerateUnoSplashWindowsSkia"
AfterTargets="GenerateUnoSplashScreens"
DependsOnTargets="GenerateUnoSplashScreens"
Condition="'$(DesignTimeBuild)' != 'True'">
Condition="'$(DesignTimeBuild)' != 'True' And '@(UnoSplashScreen)' != ''">
<!-- UWP / WinUI -->
<ItemGroup
Condition="'$(_UnoResizetizerIsWindowsAppSdk)' == 'True'">
Expand Down

0 comments on commit cfacecd

Please sign in to comment.