Merge branch 'mkirk/loadForTextDisplay'

pull/1/head
Michael Kirk 7 years ago
commit fe12774406

@ -525,7 +525,6 @@ NS_ASSUME_NONNULL_BEGIN
shouldIgnoreEvents:(BOOL)shouldIgnoreEvents shouldIgnoreEvents:(BOOL)shouldIgnoreEvents
{ {
textView.hidden = NO; textView.hidden = NO;
textView.text = text;
textView.textColor = textColor; textView.textColor = textColor;
// Honor dynamic type in the message bodies. // Honor dynamic type in the message bodies.
@ -535,6 +534,9 @@ NS_ASSUME_NONNULL_BEGIN
NSUnderlineStyleAttributeName : @(NSUnderlineStyleSingle | NSUnderlinePatternSolid) NSUnderlineStyleAttributeName : @(NSUnderlineStyleSingle | NSUnderlinePatternSolid)
}; };
textView.shouldIgnoreEvents = shouldIgnoreEvents; textView.shouldIgnoreEvents = shouldIgnoreEvents;
// For perf, set text last. Otherwise changing font/color is more expensive.
textView.text = text;
} }
- (BOOL)hasTapForMore - (BOOL)hasTapForMore

Loading…
Cancel
Save