Skip to content

Commit a4c3d3f

Browse files
jeromelabanebariche
authored andcommitted
fix: Invalid defines for WinUI 3 template
1 parent 780d761 commit a4c3d3f

File tree

1 file changed

+1
-1
lines changed
  • src/SolutionTemplate/UnoSolutionTemplate/Shared

1 file changed

+1
-1
lines changed

src/SolutionTemplate/UnoSolutionTemplate/Shared/App.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public App()
3333

3434
this.InitializeComponent();
3535

36-
#if !WINDOWS
36+
#if HAS_UNO || NETFX_CORE
3737
this.Suspending += OnSuspending;
3838
#endif
3939
}

0 commit comments

Comments
 (0)