Skip to content

Commit

Permalink
Merge branch 'develop' into feature/subheadline-button-appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
mindgraffiti committed Jul 16, 2018
2 parents e6f1249 + b834110 commit 3aecb1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion WordPressAuthenticator.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "WordPressAuthenticator"
s.version = "1.0.2"
s.version = "1.0.3"
s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps."

s.description = <<-DESC
Expand Down
6 changes: 6 additions & 0 deletions WordPressAuthenticator/Signin/Login2FAViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ class Login2FAViewController: LoginViewController, NUXKeyboardResponder, UITextF
///
@objc func configureTextFields() {
verificationCodeField.contentInsets = WPStyleGuide.edgeInsetForLoginTextFields()

#if swift(>=4.2)
if #available(iOS 12, *) {
verificationCodeField.textContentType = .oneTimeCode
}
#endif
}

/// Configures the appearance and state of the submit button.
Expand Down

0 comments on commit 3aecb1c

Please sign in to comment.