Appearance tweaks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user