Closed ghost closed 3 years ago
This section of code is wrong https://github.com/youjinp/SwiftUIKit/blob/3f3dc095ead21c90355e4b18ad6fc5ecb2bc97e7/Sources/SwiftUIKit/views/CurrencyTextField.swift#L151
Rather that checking the color at runtime, it should just set the color to UIColor.label so that the system automatically adapts it when the user changes it. Will submit a PR later when I’m front of a computer
UIColor.label
This section of code is wrong https://github.com/youjinp/SwiftUIKit/blob/3f3dc095ead21c90355e4b18ad6fc5ecb2bc97e7/Sources/SwiftUIKit/views/CurrencyTextField.swift#L151
Rather that checking the color at runtime, it should just set the color to
UIColor.label
so that the system automatically adapts it when the user changes it. Will submit a PR later when I’m front of a computer