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
|
||||
|
||||
@@ -57,7 +57,7 @@ class ToolbarView: UIView
|
||||
|
||||
let buttonContainerInset = UIEdgeInsets(top: 1.0, left: 0.0, bottom: 1.0, right: 0.0)
|
||||
|
||||
var urlBarPadding = CGFloat(8.0)
|
||||
let urlBarPadding = CGFloat(8.0)
|
||||
var urlBarInsets = UIEdgeInsets(top: 0.0, left: 0.0, bottom: 0.0, right: 0.0)
|
||||
|
||||
// Cancel button
|
||||
|
||||
@@ -31,7 +31,7 @@ class URLBar: UIView
|
||||
private let refreshImage = UIImage(systemName: "arrow.clockwise")
|
||||
private let stopImage = UIImage(systemName: "xmark")
|
||||
|
||||
private let backgroundCornerRadius: CGFloat = 8
|
||||
private let backgroundCornerRadius: CGFloat = 4
|
||||
|
||||
convenience init() {
|
||||
self.init(frame: .zero)
|
||||
|
||||
Reference in New Issue
Block a user