UI changes
This commit is contained in:
@@ -28,7 +28,7 @@ struct LoginView: View {
|
||||
.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(8)
|
||||
.cornerRadius(Constants.buttonRadius)
|
||||
.padding(.top, 25)
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ struct LoginView: View {
|
||||
.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(8)
|
||||
.cornerRadius(Constants.buttonRadius)
|
||||
|
||||
if doingNetworkShit {
|
||||
ProgressView("Logging In")
|
||||
@@ -55,7 +55,7 @@ struct LoginView: View {
|
||||
.frame(height: 44)
|
||||
.foregroundColor(.blue)
|
||||
.background(.yellow)
|
||||
.cornerRadius(8)
|
||||
.cornerRadius(Constants.buttonRadius)
|
||||
.padding()
|
||||
.frame(maxWidth: .infinity)
|
||||
.disabled(password.isEmpty || email.isEmpty)
|
||||
|
||||
Reference in New Issue
Block a user