This repository was archived by the owner on Feb 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
WordPressAuthenticator/Unified Auth/View Related Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 22
33Pod ::Spec . new do |s |
44 s . name = 'WordPressAuthenticator'
5- s . version = '2.2.0-beta.2 '
5+ s . version = '2.2.0-beta.3 '
66
77 s . summary = 'WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps.'
88 s . description = <<-DESC
Original file line number Diff line number Diff line change @@ -56,7 +56,13 @@ final class TextFieldTableViewCell: UITableViewCell {
5656 override func prepareForReuse( ) {
5757 super. prepareForReuse ( )
5858
59+ textField. keyboardType = . default
60+ textField. returnKeyType = . default
61+ setSecureTextEntry ( false )
62+ showSecureTextEntryToggle = false
5963 textField. rightView = nil
64+ textField. accessibilityLabel = nil
65+ textField. accessibilityIdentifier = nil
6066 }
6167}
6268
Original file line number Diff line number Diff line change @@ -280,7 +280,8 @@ private extension SiteCredentialsViewController {
280280 ///
281281 func configureUsernameTextField( _ cell: TextFieldTableViewCell ) {
282282 cell. configure ( withStyle: . username,
283- placeholder: WordPressAuthenticator . shared. displayStrings. usernamePlaceholder)
283+ placeholder: WordPressAuthenticator . shared. displayStrings. usernamePlaceholder,
284+ text: loginFields. username)
284285
285286 // Save a reference to the textField so it can becomeFirstResponder.
286287 usernameField = cell. textField
@@ -302,7 +303,8 @@ private extension SiteCredentialsViewController {
302303 ///
303304 func configurePasswordTextField( _ cell: TextFieldTableViewCell ) {
304305 cell. configure ( withStyle: . password,
305- placeholder: WordPressAuthenticator . shared. displayStrings. passwordPlaceholder)
306+ placeholder: WordPressAuthenticator . shared. displayStrings. passwordPlaceholder,
307+ text: loginFields. password)
306308 passwordField = cell. textField
307309 cell. textField. delegate = self
308310 cell. onChangeSelectionHandler = { [ weak self] textfield in
You can’t perform that action at this time.
0 commit comments