Skip to content

Commit e833962

Browse files
committed
end compiler fail flag for not watchOS
1 parent 0c9aee1 commit e833962

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ public struct DigitPadStyle: ButtonStyle {
6969

7070
}
7171
}
72+
#else
73+
#error("This is a watchOS only library.")
7274
#endif
7375
public enum TextViewAlignment {
7476
case trailing

0 commit comments

Comments
 (0)