Skip to content

Commit

Permalink
iPhone X status bar banners not as tall by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Daltron committed Jan 8, 2018
1 parent 9a4c623 commit 555c4a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class StatusBarNotificationBanner: BaseNotificationBanner {
if let customBannerHeight = customBannerHeight {
return customBannerHeight
} else if shouldAdjustForIphoneX() {
return super.bannerHeight
return 50.0
} else {
return 20.0
}
Expand Down
2 changes: 1 addition & 1 deletion NotificationBannerSwift.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |s|
s.name = 'NotificationBannerSwift'
s.version = '1.5.3'
s.version = '1.5.4'
s.summary = 'The easiest way to display in app notification banners in iOS.'

s.description = <<-DESC
Expand Down

0 comments on commit 555c4a8

Please sign in to comment.