Skip to content

Commit 5425cb6

Browse files
authored
Revert "Addition of Fix for iPhone Notch (#374)" (#381)
This reverts commit f87d603.
1 parent f5611b5 commit 5425cb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NotificationBanner/Classes/BaseNotificationBanner.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ open class BaseNotificationBanner: UIView {
503503
internal var heightAdjustment: CGFloat {
504504
// iOS 13 does not allow covering the status bar on non-notch iPhones
505505
// The banner needs to be moved further down under the status bar in this case
506-
guard #available(iOS 13.0, *), NotificationBannerUtilities.isNotchFeaturedIPhone() else {
506+
guard #available(iOS 13.0, *), !NotificationBannerUtilities.isNotchFeaturedIPhone() else {
507507
return 0
508508
}
509509

0 commit comments

Comments
 (0)