fixes crash

This commit is contained in:
Stuart Breckenridge
2022-02-10 22:30:42 +08:00
parent 08618f5f15
commit 18ee46a501

View File

@@ -138,7 +138,7 @@ class SettingsViewController: UITableViewController {
}
return defaultNumberOfRows
case 5:
return traitCollection.userInterfaceIdiom == .phone ? 4 : 3
return 3
default:
return super.tableView(tableView, numberOfRowsInSection: section)
}