Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 3aecb1c

Browse files
committed
Merge branch 'develop' into feature/subheadline-button-appearance
2 parents e6f1249 + b834110 commit 3aecb1c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

WordPressAuthenticator.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "WordPressAuthenticator"
3-
s.version = "1.0.2"
3+
s.version = "1.0.3"
44
s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps."
55

66
s.description = <<-DESC

WordPressAuthenticator/Signin/Login2FAViewController.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ class Login2FAViewController: LoginViewController, NUXKeyboardResponder, UITextF
103103
///
104104
@objc func configureTextFields() {
105105
verificationCodeField.contentInsets = WPStyleGuide.edgeInsetForLoginTextFields()
106+
107+
#if swift(>=4.2)
108+
if #available(iOS 12, *) {
109+
verificationCodeField.textContentType = .oneTimeCode
110+
}
111+
#endif
106112
}
107113

108114
/// Configures the appearance and state of the submit button.

0 commit comments

Comments
 (0)