Skip to content

Commit c54b049

Browse files
committed
No goals label should scale to fix
1 parent d3d4f19 commit c54b049

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

BeeSwift/Gallery/GalleryViewController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ class GalleryViewController: UIViewController, UICollectionViewDelegateFlowLayou
154154
self.noGoalsLabel.textAlignment = .center
155155
self.noGoalsLabel.numberOfLines = 0
156156
self.noGoalsLabel.isHidden = true
157-
157+
self.noGoalsLabel.setContentHuggingPriority(.defaultLow, for: .vertical)
158+
158159
self.updateGoals()
159160
self.fetchGoals()
160161

0 commit comments

Comments
 (0)