Skip to content

Commit

Permalink
Origami 2759 - fix icon not showing on iOS 18 (#2063)
Browse files Browse the repository at this point in the history
* OGM-2759: Fix icon not showing on iOS 18

* no message

* Record snapshots

* Updated snapshots

* Launch CI

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nicolas Frugoni <[email protected]>
  • Loading branch information
3 people authored Sep 27, 2024
1 parent 394df25 commit 3b42bf6
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Backpack/Calendar/Classes/BPKCalendarPriceLabelCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ - (void)setup {
[self.contentView addSubview:self.priceLabel];
self.priceLabel.translatesAutoresizingMaskIntoConstraints = NO;
self.priceLabel.textAlignment = NSTextAlignmentCenter;

[NSLayoutConstraint activateConstraints:@[
[self.priceLabel.topAnchor constraintEqualToAnchor:self.titleLabel.bottomAnchor constant:BPKSpacingSm / 2.0],
[self.priceLabel.leadingAnchor constraintEqualToAnchor:self.contentView.leadingAnchor constant:BPKSpacingSm],
Expand All @@ -90,10 +91,10 @@ - (void)configureWithData:(id)data {
self.priceLabel.attributedText = attachmentString;
} else {
self.priceLabel.text = priceLabelCellData.price;
self.priceLabel.fontStyle = BPKFontStyleTextCaption;
}
self.priceLabelCellData = priceLabelCellData;
self.priceLabel.textColor = priceLabelCellData.labelStyle.textColor;
self.priceLabel.fontStyle = BPKFontStyleTextCaption;
}

- (NSString *)defaultAccessibilityLabelForDate:(NSDate *)date formatter:(NSDateFormatter *)formatter {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3b42bf6

Please sign in to comment.