Skip to content

Commit 49ea266

Browse files
committed
Set BottomSheetListSelectorViewController's preferred content size to its content size (table view height) without additional content top margin.
1 parent 41a7577 commit 49ea266

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

WooCommerce/Classes/ViewRelated/BottomSheet/ListSelector/BottomSheetListSelectorViewController.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,6 @@ private extension BottomSheetListSelectorViewController {
129129
}
130130

131131
func configurePreferredContentSize() {
132-
let size = contentSize
133-
let height = contentSize.height + BottomSheetViewController.Constants.additionalContentTopMargin
134-
preferredContentSize = CGSize(width: size.width, height: height)
132+
preferredContentSize = contentSize
135133
}
136134
}

0 commit comments

Comments
 (0)