Skip to content

Commit

Permalink
[Pod release] Trying to remove status bar config
Browse files Browse the repository at this point in the history
  • Loading branch information
mozharovsky committed Jan 17, 2017
1 parent be3f031 commit f31104b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ATHKit.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "ATHKit"
s.version = "0.0.9.1"
s.version = "0.0.9.2"
s.summary = "ATHKit is a collection of customizable UI components such as ImagePickerController and more."
s.homepage = "https://github.com/Athlee/ATHKit"
s.license = { :type => "MIT", :file => "LICENSE" }
Expand Down
6 changes: 4 additions & 2 deletions Source/ATHImagePickerCaptureViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,15 @@ final public class ATHImagePickerCaptureViewController: UIViewController, PhotoC

fileprivate var isStatusBarHidden: Bool = false {
didSet {
updateStatusBar(with: ATHImagePickerController.statusBarConfig)
//updateStatusBar(with: ATHImagePickerController.statusBarConfig)
updateStatusBar(with: ATHImagePickerStatusBarConfig())
}
}

fileprivate var statusBarAnimation: UIStatusBarAnimation = .none {
didSet {
updateStatusBar(with: ATHImagePickerController.statusBarConfig)
//updateStatusBar(with: ATHImagePickerController.statusBarConfig)
updateStatusBar(with: ATHImagePickerStatusBarConfig())
}
}

Expand Down
2 changes: 1 addition & 1 deletion Source/ATHImagePickerController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ open class ATHImagePickerController: UINavigationController, ATHImagePickerCommi
open var sourceType: ATHImagePickerSourceType = [.camera]
open weak var pickerDelegate: ATHImagePickerControllerDelegate?

open static var statusBarConfig = ATHImagePickerStatusBarConfig()
//open static var statusBarConfig = ATHImagePickerStatusBarConfig()

// MARK: - Life cycle

Expand Down
6 changes: 4 additions & 2 deletions Source/ATHImagePickerSelectionViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,15 @@ open class ATHImagePickerSelectionViewController: UIViewController, SelectionCon

fileprivate var isStatusBarHidden: Bool = false {
didSet {
updateStatusBar(with: ATHImagePickerController.statusBarConfig)
//updateStatusBar(with: ATHImagePickerController.statusBarConfig)
updateStatusBar(with: ATHImagePickerStatusBarConfig())
}
}

fileprivate var statusBarAnimation: UIStatusBarAnimation = .none {
didSet {
updateStatusBar(with: ATHImagePickerController.statusBarConfig)
//updateStatusBar(with: ATHImagePickerController.statusBarConfig)
updateStatusBar(with: ATHImagePickerStatusBarConfig())
}
}

Expand Down
6 changes: 4 additions & 2 deletions Source/ATHImagePickerTabBarController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,15 @@ open class ATHImagePickerTabBarController: PageTabBarController, StatusBarUpdata

fileprivate var isStatusBarHidden: Bool = false {
didSet {
updateStatusBar(with: ATHImagePickerController.statusBarConfig)
//updateStatusBar(with: ATHImagePickerController.statusBarConfig)
updateStatusBar(with: ATHImagePickerStatusBarConfig())
}
}

fileprivate var statusBarAnimation: UIStatusBarAnimation = .none {
didSet {
updateStatusBar(with: ATHImagePickerController.statusBarConfig)
//updateStatusBar(with: ATHImagePickerController.statusBarConfig)
updateStatusBar(with: ATHImagePickerStatusBarConfig())
}
}

Expand Down

0 comments on commit f31104b

Please sign in to comment.