Skip to content

Commit a92e818

Browse files
authored
fix: Fix compile error on iOS targets (#6)
1 parent 35bb5e7 commit a92e818

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Example/Shared/ExampleApp.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ struct ExampleApp: App {
2626
DemoList()
2727
#endif
2828
}
29+
#if os(macOS)
2930
.windowToolbarStyle(UnifiedCompactWindowToolbarStyle())
3031
.windowStyle(HiddenTitleBarWindowStyle())
32+
#endif
3133
}
3234
}

0 commit comments

Comments
 (0)