|
|
@ -116,7 +116,9 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
if (OWSWindowManager.sharedManager.hasCall) {
|
|
|
|
if (OWSWindowManager.sharedManager.hasCall) {
|
|
|
|
if (UIDevice.currentDevice.isIPhoneX) {
|
|
|
|
if (UIDevice.currentDevice.isIPhoneX) {
|
|
|
|
// iPhoneX computes status bar height differently.
|
|
|
|
// iPhoneX computes status bar height differently.
|
|
|
|
|
|
|
|
// IOS_DEVICE_CONSTANT
|
|
|
|
self.additionalSafeAreaInsets = UIEdgeInsetsMake(navbar.navbarWithoutStatusHeight + 20, 0, 0, 0);
|
|
|
|
self.additionalSafeAreaInsets = UIEdgeInsetsMake(navbar.navbarWithoutStatusHeight + 20, 0, 0, 0);
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
self.additionalSafeAreaInsets
|
|
|
|
self.additionalSafeAreaInsets
|
|
|
|
= UIEdgeInsetsMake(navbar.navbarWithoutStatusHeight + CurrentAppContext().statusBarHeight, 0, 0, 0);
|
|
|
|
= UIEdgeInsetsMake(navbar.navbarWithoutStatusHeight + CurrentAppContext().statusBarHeight, 0, 0, 0);
|
|
|
|