Skip to content

Commit

Permalink
No goals label should scale to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
theospears committed Dec 26, 2024
1 parent d3d4f19 commit c54b049
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BeeSwift/Gallery/GalleryViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ class GalleryViewController: UIViewController, UICollectionViewDelegateFlowLayou
self.noGoalsLabel.textAlignment = .center
self.noGoalsLabel.numberOfLines = 0
self.noGoalsLabel.isHidden = true

self.noGoalsLabel.setContentHuggingPriority(.defaultLow, for: .vertical)

self.updateGoals()
self.fetchGoals()

Expand Down

0 comments on commit c54b049

Please sign in to comment.