Skip to content

Commit 41e29c1

Browse files
committed
fix(demo): now builds on macOS as well
1 parent f1317fe commit 41e29c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Demo/ButtonKitDemo/Buttons/AsyncButtonDemo.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ struct AsyncButtonDemo: View {
6161
}
6262
.asyncButtonStyle(.pulse)
6363

64-
if #available(iOS 18.0, *) {
64+
if #available(iOS 18.0, macOS 14.0, *) {
6565
AsyncButton {
6666
try await Task.sleep(nanoseconds: 2_000_000_000)
6767
} label: {

0 commit comments

Comments
 (0)