mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
Merge pull request #3084 from vector-im/riot_3067
Consider Safe Area Insets for Some Screens
This commit is contained in:
@@ -243,7 +243,6 @@
|
||||
[self userInterfaceThemeDidChange];
|
||||
|
||||
}];
|
||||
[self userInterfaceThemeDidChange];
|
||||
}
|
||||
|
||||
- (void)userInterfaceThemeDidChange
|
||||
@@ -287,7 +286,9 @@
|
||||
|
||||
// Screen tracking
|
||||
[[Analytics sharedInstance] trackScreen:@"RoomMemberDetails"];
|
||||
|
||||
|
||||
[self userInterfaceThemeDidChange];
|
||||
|
||||
// Hide the bottom border of the navigation bar to display the expander header
|
||||
[self hideNavigationBarBorder:YES];
|
||||
|
||||
@@ -526,6 +527,7 @@
|
||||
}
|
||||
|
||||
// Main Navigation bar opacity must follow
|
||||
self.navigationController.navigationBar.translucent = isHidden;
|
||||
mainNavigationController.navigationBar.translucent = isHidden;
|
||||
}
|
||||
|
||||
@@ -919,6 +921,11 @@
|
||||
encryptionInfoCell.accessoryType = UITableViewCellAccessoryNone;
|
||||
encryptionInfoCell.contentView.backgroundColor = ThemeService.shared.theme.headerBackgroundColor;
|
||||
encryptionInfoCell.backgroundColor = ThemeService.shared.theme.headerBackgroundColor;
|
||||
|
||||
// extend background color to safe area
|
||||
UIView *bgView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 1, 1)];
|
||||
bgView.backgroundColor = ThemeService.shared.theme.headerBackgroundColor;
|
||||
encryptionInfoCell.backgroundView = bgView;
|
||||
|
||||
cell = encryptionInfoCell;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user