mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
Remove extra bottom space on iPads
This commit is contained in:
+5
-1
@@ -112,7 +112,11 @@ final class RoomCreationEventsModalViewController: UIViewController {
|
||||
}
|
||||
|
||||
private func setupViews() {
|
||||
mainTableView.contentInset = UIEdgeInsets(top: 16, left: 0, bottom: 36, right: 0)
|
||||
if UIDevice.current.userInterfaceIdiom == .pad {
|
||||
mainTableView.contentInset = UIEdgeInsets(top: 16, left: 0, bottom: 16, right: 0)
|
||||
} else {
|
||||
mainTableView.contentInset = UIEdgeInsets(top: 16, left: 0, bottom: 36, right: 0)
|
||||
}
|
||||
mainTableView.register(cellType: TextViewTableViewCell.self)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user