Skip to content

Commit

Permalink
Use correct icon depending if user has subscription active or not.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioEstevao committed Oct 30, 2024
1 parent e94fbdc commit a025924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion podcasts/PodcastHeadingTableCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class PodcastHeadingTableCell: ThemeableCell, SubscribeButtonDelegate, Expandabl
supporterHeartView.isHidden = !(podcast.isPaid && podcast.isSubscribed())
supporterView.isHidden = !podcast.isPaid

let folderImage = (podcast.folderUuid?.isEmpty ?? true) ? "folder-create" : "folder-check"
let folderImage = SubscriptionHelper.hasActiveSubscription() ? (podcast.folderUuid?.isEmpty ?? true) ? "folder-empty" : "folder-check" : "folder-create"
folderButton.setImage(UIImage(named: folderImage), for: .normal)

if !isAnimatingToSubscribed {
Expand Down

0 comments on commit a025924

Please sign in to comment.