File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
WordPress/Classes/ViewRelated/Aztec/Stock Photos Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ extension NoResultsViewController {
1515 attributedSubtitle: attributedSubtitle ( ) ,
1616 image: Constants . imageName,
1717 accessoryView: nil )
18+
19+ view. layoutIfNeeded ( )
1820 }
1921
2022 private func attributedSubtitle( ) -> NSAttributedString {
@@ -31,6 +33,8 @@ extension NoResultsViewController {
3133 attributedSubtitle: nil ,
3234 image: Constants . imageName,
3335 accessoryView: nil )
36+
37+ view. layoutIfNeeded ( )
3438 }
3539
3640 func configureAsNoSearchResults( for string: String ) {
@@ -40,6 +44,8 @@ extension NoResultsViewController {
4044 attributedSubtitle: nil ,
4145 image: Constants . imageName,
4246 accessoryView: nil )
47+
48+ view. layoutIfNeeded ( )
4349 }
4450
4551 private func configureSearchResultTitle( for string: String ) -> String {
You can’t perform that action at this time.
0 commit comments