show/hide password when signing up

This commit is contained in:
Stuart Breckenridge
2020-12-06 08:00:34 +08:00
parent 32506b25ae
commit 841da2d570
4 changed files with 53 additions and 3 deletions

View File

@@ -18,7 +18,6 @@ class AddFeedlyViewModel: ObservableObject, OAuthAccountAuthorizationOperationDe
@Published var showError: Bool = false
@Published var username: String = ""
@Published var password: String = ""
@Published var showPassword: Bool = false
func authenticateFeedly() {
isAuthenticating = true

View File

@@ -19,6 +19,7 @@ class AddNewsBlurViewModel: ObservableObject, AddAccountSignUp {
@Published var username: String = ""
@Published var password: String = ""
@Published var canDismiss: Bool = false
@Published var showPassword: Bool = false
func authenticateNewsBlur() {
isAuthenticating = true