minor fix on placeholder text color
This commit is contained in:
parent
e2856dfb97
commit
a9dcfaa3b9
|
@ -27,7 +27,7 @@ public struct SessionTextField: View {
|
|||
if text.isEmpty {
|
||||
Text(placeholder)
|
||||
.font(.system(size: Values.smallFontSize))
|
||||
.foregroundColor(themeColor: .textSecondary)
|
||||
.foregroundColor(themeColor: (error?.isEmpty == false) ? .danger : .textSecondary)
|
||||
}
|
||||
|
||||
SwiftUI.TextField(
|
||||
|
|
Loading…
Reference in New Issue