Skip to content

Commit

Permalink
Merge pull request #292 from AgileBits/fixed/fixed-status-bar-inconsi…
Browse files Browse the repository at this point in the history
…stency-between-ACME-Objective-C-and-Swift

[FIXED] Fixed status bar inconsistencies between the Objective-C and the Swift versions of ACME.
  • Loading branch information
radazzouz committed Jan 14, 2016
2 parents ed526d0 + 52fe568 commit 6deb794
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class ChangePasswordViewController: UIViewController {

override func viewDidLoad() {
super.viewDidLoad()
UIApplication.sharedApplication().setStatusBarHidden(true, withAnimation:UIStatusBarAnimation.None)
self.view.backgroundColor = UIColor(patternImage: UIImage(named: "login-background.png")!)
self.onepasswordButton.hidden = (false == OnePasswordExtension.sharedExtension().isAppExtensionAvailable())
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class LoginViewController: UIViewController {

override func viewDidLoad() {
super.viewDidLoad()
UIApplication.sharedApplication().setStatusBarHidden(true, withAnimation:UIStatusBarAnimation.None)
self.view.backgroundColor = UIColor(patternImage: UIImage(named: "login-background.png")!)
self.onepasswordButton.hidden = (false == OnePasswordExtension.sharedExtension().isAppExtensionAvailable())
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class RegisterViewController: UIViewController {

override func viewDidLoad() {
super.viewDidLoad()
UIApplication.sharedApplication().setStatusBarHidden(true, withAnimation:UIStatusBarAnimation.None)
self.view.backgroundColor = UIColor(patternImage: UIImage(named: "register-background.png")!)
self.onepasswordButton.hidden = (false == OnePasswordExtension.sharedExtension().isAppExtensionAvailable())
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ import Foundation
class ThankYouViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
UIApplication.sharedApplication().setStatusBarHidden(true, withAnimation:UIStatusBarAnimation.None)
self.view.backgroundColor = UIColor(patternImage: UIImage(named: "login-background.png")!)
}

override func preferredStatusBarStyle() -> UIStatusBarStyle {
return UIStatusBarStyle.LightContent
}
}

0 comments on commit 6deb794

Please sign in to comment.