Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ final class MigrationWelcomeViewController: UIViewController {
])
}

/// Increases the tableView's bottom inset so it doesn't cover the bottom actions sheet.
/// Increases the tableView's bottom inset so it doesn't get covered by the bottom actions sheet.
private func updateTableViewContentInset() {
let bottomInset = -view.safeAreaInsets.bottom + bottomSheet.bounds.height
self.tableView.contentInset.bottom = bottomInset + Constants.tableViewBottomInsetMargin
Expand All @@ -116,7 +116,13 @@ final class MigrationWelcomeViewController: UIViewController {
static let tableViewLeadingMargin = CGFloat(30)

/// Used for the `tableHeaderView` layout guide margins.
static let tableHeaderViewMargins = NSDirectionalEdgeInsets(top: 0, leading: 30, bottom: 30, trailing: 30)
static let tableHeaderViewMargins: NSDirectionalEdgeInsets = {
var insets = NSDirectionalEdgeInsets(top: 20, leading: 30, bottom: 30, trailing: 30)
if #available(iOS 15, *) {
insets.top = 0
}
return insets
}()
}
}

Expand Down