Skip to content

Commit

Permalink
end compiler fail flag for not watchOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ApplebaumIan committed Sep 19, 2021
1 parent 0c9aee1 commit e833962
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/SwiftUI Apple Watch Decimal Pad/Modifiers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ public struct DigitPadStyle: ButtonStyle {

}
}
#else
#error("This is a watchOS only library.")
#endif
public enum TextViewAlignment {
case trailing
Expand Down

0 comments on commit e833962

Please sign in to comment.