Skip to content

Commit

Permalink
Address PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thatswinnie committed May 13, 2024
1 parent f811a29 commit 23aebed
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -528,9 +528,10 @@ extension LegacyTabTrayViewController: Notifiable {
notification.windowUUID == self?.windowUUID
else { return }
self?.countLabel.text = self?.viewModel.normalTabsCount
self?.segmentedControlIphone.setImage(
UIImage(named: StandardImageIdentifiers.Large.tab)!.overlayWith(image: label),
forSegmentAt: 0)

if let image = UIImage(named: StandardImageIdentifiers.Large.tab) {
self?.segmentedControlIphone.setImage(image.overlayWith(image: label), forSegmentAt: 0)
}
default: break
}
}
Expand Down

0 comments on commit 23aebed

Please sign in to comment.