Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion WordPressAuthenticator.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Pod::Spec.new do |s|
s.name = 'WordPressAuthenticator'
s.version = '2.2.0-beta.2'
s.version = '2.2.0-beta.3'

s.summary = 'WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps.'
s.description = <<-DESC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@ final class TextFieldTableViewCell: UITableViewCell {
override func prepareForReuse() {
super.prepareForReuse()

textField.keyboardType = .default
textField.returnKeyType = .default
setSecureTextEntry(false)
showSecureTextEntryToggle = false
textField.rightView = nil
textField.accessibilityLabel = nil
textField.accessibilityIdentifier = nil
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ private extension SiteCredentialsViewController {
///
func configureUsernameTextField(_ cell: TextFieldTableViewCell) {
cell.configure(withStyle: .username,
placeholder: WordPressAuthenticator.shared.displayStrings.usernamePlaceholder)
placeholder: WordPressAuthenticator.shared.displayStrings.usernamePlaceholder,
text: loginFields.username)

// Save a reference to the textField so it can becomeFirstResponder.
usernameField = cell.textField
Expand All @@ -302,7 +303,8 @@ private extension SiteCredentialsViewController {
///
func configurePasswordTextField(_ cell: TextFieldTableViewCell) {
cell.configure(withStyle: .password,
placeholder: WordPressAuthenticator.shared.displayStrings.passwordPlaceholder)
placeholder: WordPressAuthenticator.shared.displayStrings.passwordPlaceholder,
text: loginFields.password)
passwordField = cell.textField
cell.textField.delegate = self
cell.onChangeSelectionHandler = { [weak self] textfield in
Expand Down