Skip to content

Commit 3d02edd

Browse files
authored
Merge pull request #1336 from woocommerce/issue/1335-dark-mode-login
Xcode 11 + Dark mode: temporarily disable Dark mode for login UI
2 parents 7c05e70 + e0a43d4 commit 3d02edd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

WooCommerce/Classes/Authentication/AuthenticationManager.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ class AuthenticationManager: Authentication {
6464
let navigationController = LoginNavigationController(rootViewController: prologueViewController)
6565
navigationController.modalPresentationStyle = .fullScreen
6666

67+
// TODO-1335: properly handle login input field text color in Dark mode in `WordPressAuthenticator`.
68+
if #available(iOS 13.0, *) {
69+
navigationController.overrideUserInterfaceStyle = .light
70+
}
71+
6772
presenter.present(navigationController, animated: true, completion: nil)
6873
}
6974

0 commit comments

Comments
 (0)