Skip to content

fix: use default text color for news items if tintColor is undefined (closes #1696) - #1697

Merged
rileytestut merged 1 commit into
altstoreio:marketplacefrom
partyknightsdev:marketplace
Jan 11, 2026
Merged

rileytestut merged 1 commit into
altstoreio:marketplacefrom
partyknightsdev:marketplace

Conversation

@partyknightsdev

Copy link
Copy Markdown
Contributor

Fixes the issue described in #1696, where leaving the tintColor of a news item undefined leads to unreadable text in light mode (white text on a white background). This PR addresses the issue by using a white color only when tintColor is set, and falling back to UIColor.label otherwise (black in light mode, white in dark mode).

To avoid code duplication, I refactored this new logic together with the existing setters into the configure() function of NewsCollectionViewCell, which now takes a full NewsItem as its parameter.

Tested on an iPhone 17 Pro Simulator with

  • media.partyknights.app/test-source.json (source without tintColor)
  • partyknights.app/source (source with tintColor)

I am happy to hear your feedback!

@rileytestut

Copy link
Copy Markdown
Collaborator

Awesome, this looks good to me! Will ship this in our next beta in preparation for AltStore PAL 2.3.

@rileytestut
rileytestut merged commit 502848e into altstoreio:marketplace Jan 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants