Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 1b8bef2

Browse files
Fix: incorrect placement of empty view in picker
1 parent 22b585b commit 1b8bef2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Pod/Classes/WPMediaPickerViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1454,7 +1454,8 @@ - (void)centerEmptyView
14541454
} else {
14551455
emptyViewFrame.origin.y = self.searchBarTopConstraint.constant;
14561456
}
1457-
1457+
// emptyViewFrame.size.height -= self.view.layoutMargins.bottom;
1458+
// emptyViewFrame.size.height -= self.view.layoutMargins.top;
14581459
_emptyViewController.view.frame = emptyViewFrame;
14591460
} else {
14601461
self.emptyView.center = self.collectionView.center;

0 commit comments

Comments
 (0)