Appearance tweaks

This commit is contained in:
James Magahern
2020-08-14 17:44:49 -07:00
parent 669da89ff3
commit fa4ba64660
3 changed files with 3 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ class TabPickerViewController: UIViewController, UICollectionViewDelegate
}
override func loadView() {
var listConfig = UICollectionLayoutListConfiguration(appearance: .grouped)
var listConfig = UICollectionLayoutListConfiguration(appearance: .insetGrouped)
listConfig.trailingSwipeActionsConfigurationProvider = { [unowned self] indexPath in
if self.dataSource?.snapshot().numberOfItems ?? 0 <= 1 {
return nil