Skip to content

Commit

Permalink
Revert "Addition of Fix for iPhone Notch (Daltron#374)" (Daltron#381)
Browse files Browse the repository at this point in the history
This reverts commit f87d603.
  • Loading branch information
Daltron authored Mar 10, 2022
1 parent f5611b5 commit 5425cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NotificationBanner/Classes/BaseNotificationBanner.swift
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ open class BaseNotificationBanner: UIView {
internal var heightAdjustment: CGFloat {
// iOS 13 does not allow covering the status bar on non-notch iPhones
// The banner needs to be moved further down under the status bar in this case
guard #available(iOS 13.0, *), NotificationBannerUtilities.isNotchFeaturedIPhone() else {
guard #available(iOS 13.0, *), !NotificationBannerUtilities.isNotchFeaturedIPhone() else {
return 0
}

Expand Down

0 comments on commit 5425cb6

Please sign in to comment.