You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// We need to start off every label with black text, even though it will be using an attributed string for its exact styling. Without this next line of code, cell re-use will cause a problem in questions without syntax highlighting: correct/wrong answers will have their text color set to white, and cell re-use will cause that to be propagated to cells with a white background color. While we could update unknownAnswer() to set a black text color, doing so would strip syntax highlighting from questions that have it enabled, so the best solution is to start with a black and let syntax highlighting / white color override as necessary.
f304130
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@twostraws This causes issue when the cell is reused - the textColor might remain white on white background. See screenhots below.
What was the reason for this change?
f304130
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been resolved now, and the fix will be in the next update – see my lengthy comment on
Unwrap/Unwrap/Activities/Learn/Review/MultipleSelectReviewDataSource.swift
Line 58 in 318cf43