From c0fcb5923315ae7a9ee82eb196047a3949fb060a Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Tue, 5 Mar 2019 09:45:29 +0100 Subject: [PATCH] Set account fields content type --- Passepartout-iOS/Scenes/AccountViewController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Passepartout-iOS/Scenes/AccountViewController.swift b/Passepartout-iOS/Scenes/AccountViewController.swift index 2ba9e17f..2b3155be 100644 --- a/Passepartout-iOS/Scenes/AccountViewController.swift +++ b/Passepartout-iOS/Scenes/AccountViewController.swift @@ -189,6 +189,7 @@ extension AccountViewController: UITableViewDataSource, UITableViewDelegate, Fie cell.field.text = currentCredentials?.username cell.field.keyboardType = .emailAddress cell.field.returnKeyType = .next + cell.field.textContentType = .username case .password: cellPassword = cell @@ -198,6 +199,7 @@ extension AccountViewController: UITableViewDataSource, UITableViewDelegate, Fie cell.field.isSecureTextEntry = true cell.field.text = currentCredentials?.password cell.field.returnKeyType = .done + cell.field.textContentType = .password } cell.captionWidth = 120.0 cell.delegate = self