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

Commit 0c09a04

Browse files
Fix: remove testing code
1 parent ab86aef commit 0c09a04

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Pod/Classes/WPMediaPickerViewController.m

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1451,11 +1451,9 @@ - (void)centerEmptyView
14511451

14521452
if ([self.searchBar.text isEqualToString:@""]) {
14531453
emptyViewFrame.origin.y -= self.searchBar.frame.size.height/2;
1454-
} else {
1455-
emptyViewFrame.origin.y = self.searchBarTopConstraint.constant;
14561454
}
1457-
// emptyViewFrame.size.height -= self.view.layoutMargins.bottom;
1458-
// emptyViewFrame.size.height -= self.view.layoutMargins.top;
1455+
emptyViewFrame.size.height -= self.view.layoutMargins.bottom;
1456+
emptyViewFrame.size.height -= self.view.layoutMargins.top;
14591457
_emptyViewController.view.frame = emptyViewFrame;
14601458
} else {
14611459
self.emptyView.center = self.collectionView.center;

0 commit comments

Comments
 (0)