Skip to content

Commit b6c4f6c

Browse files
committed
chore: remove demo vertical layout padding
1 parent 3e03dd7 commit b6c4f6c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Development/Sources/Demos/Demo Screens/OcclusionInsetsViewController.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ final class OcclusionInsetsViewController: UIViewController {
2020
private let keyboardDismissModeControl = UISegmentedControl(items: ["None", "Drag", "Interactive"])
2121

2222
private let floatingBarHeight: CGFloat = 76.0
23-
private let bottomContentSpacing: CGFloat = 24.0
2423
private var keyboardDismissMode: UIScrollView.KeyboardDismissMode = .interactive
2524

2625
override func loadView() {
@@ -104,7 +103,7 @@ final class OcclusionInsetsViewController: UIViewController {
104103
list.layout = .table { layout in
105104
layout.stickySectionHeaders = false
106105
layout.bounds = .init(
107-
padding: UIEdgeInsets(top: 16.0, left: 20.0, bottom: self.bottomContentSpacing, right: 20.0),
106+
padding: UIEdgeInsets(top: 0.0, left: 20.0, bottom: 0.0, right: 20.0),
108107
width: .atMost(600.0)
109108
)
110109
layout.layout.itemSpacing = 8.0

0 commit comments

Comments
 (0)