Skip to content

Commit

Permalink
feat(ads): update AdsCarouselCellConfiguration, switch to let where a…
Browse files Browse the repository at this point in the history
… property wasn't mutated
  • Loading branch information
Gio2018 committed May 23, 2024
1 parent 26908f7 commit 97160d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct AdCarouselCellConfiguration: HomeCarouselCellConfiguration {
}

var attributedTitle: NSAttributedString {
var content = NSMutableAttributedString()
let content = NSMutableAttributedString()
content.append(NSAttributedString(string: currentAd.title, style: .recommendation.title))
content.append(NSAttributedString(string: "\n" + currentAd.description, style: .recommendation.title))
return content
Expand Down

0 comments on commit 97160d0

Please sign in to comment.