From 3a23e6a2234333b9951210ad40d9d84ae446d48c Mon Sep 17 00:00:00 2001 From: Trey t Date: Wed, 23 Apr 2025 11:52:30 -0500 Subject: [PATCH] Can't see what you type in on login screen in dark mode --- .../Werkout_ios/Views/Login/LoginView.swift | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/iphone/Werkout_ios/Views/Login/LoginView.swift b/iphone/Werkout_ios/Views/Login/LoginView.swift index 064e925..eb6bdc1 100644 --- a/iphone/Werkout_ios/Views/Login/LoginView.swift +++ b/iphone/Werkout_ios/Views/Login/LoginView.swift @@ -24,22 +24,21 @@ struct LoginView: View { TextField("Email", text: $email) .textContentType(.username) .autocapitalization(.none) - .frame(height: 55) - .textFieldStyle(PlainTextFieldStyle()) - .padding([.horizontal], 4) - .overlay(RoundedRectangle(cornerRadius: 16).stroke(Color(uiColor: .clear))).background(Color(uiColor: .init(red: 255/255, green: 255/255, blue: 255/255, alpha: 1))) - .cornerRadius(Constants.buttonRadius) + .padding() + .background(Color.white) + .cornerRadius(8) + .padding(.horizontal) .padding(.top, 25) - + .foregroundStyle(.black) SecureField("Password", text: $password) .textContentType(.password) + .padding() + .background(Color.white) + .cornerRadius(8) + .padding(.horizontal) .autocapitalization(.none) - .frame(height: 55) - .textFieldStyle(PlainTextFieldStyle()) - .padding([.horizontal], 4) - .overlay(RoundedRectangle(cornerRadius: 16).stroke(Color(uiColor: .clear))).background(Color(uiColor: .init(red: 255/255, green: 255/255, blue: 255/255, alpha: 1))) - .cornerRadius(Constants.buttonRadius) + .foregroundStyle(.black) if doingNetworkShit { ProgressView("Logging In")