mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 02:22:44 +02:00
Address comments and cleanup version checks
This commit is contained in:
@@ -61,7 +61,7 @@ struct BorderedInputFieldStyle: TextFieldStyle {
|
||||
return Color(theme.colors.background)
|
||||
}
|
||||
|
||||
private var borderWdith: CGFloat {
|
||||
private var borderWidth: CGFloat {
|
||||
return isEditing || isError ? 2 : 1.5
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ struct BorderedInputFieldStyle: TextFieldStyle {
|
||||
.padding(.horizontal, 8)
|
||||
.background(backgroundColor)
|
||||
.clipShape(rect)
|
||||
.overlay(rect.stroke(borderColor, lineWidth: borderWdith))
|
||||
.overlay(rect.stroke(borderColor, lineWidth: borderWidth))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user