Remove extra bottom space on iPads

This commit is contained in:
ismailgulek
2020-09-15 14:48:40 +03:00
parent 9395800e48
commit 22f6e72702
@@ -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)
}