mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 08:15:24 +00:00
Show a resting-state border on raised text fields
This commit is contained in:
@@ -138,7 +138,7 @@ public struct CompoundTextFieldStyle: @MainActor TextFieldStyle {
|
||||
|
||||
/// The width of the text field's border.
|
||||
private var borderWidth: CGFloat {
|
||||
isFocused || isError ? 1.0 : 0
|
||||
isFocused || isError || kind.isRaised ? 1.0 : 0
|
||||
}
|
||||
|
||||
private var accentColor: Color {
|
||||
|
||||
Reference in New Issue
Block a user