|
|
@@ -8,6 +8,7 @@
|
|
|
|
|
|
#import "FLEXSystemLogCell.h"
|
|
|
#import "FLEXSystemLogMessage.h"
|
|
|
+#import "UIFont+FLEX.h"
|
|
|
|
|
|
NSString *const kFLEXSystemLogCellIdentifier = @"FLEXSystemLogCellIdentifier";
|
|
|
|
|
|
@@ -69,7 +70,7 @@ static const UIEdgeInsets kFLEXLogMessageCellInsets = {10.0, 10.0, 10.0, 10.0};
|
|
|
|
|
|
+ (NSAttributedString *)attributedTextForLogMessage:(FLEXSystemLogMessage *)logMessage highlightedText:(NSString *)highlightedText {
|
|
|
NSString *text = [self displayedTextForLogMessage:logMessage];
|
|
|
- NSDictionary<NSString *, id> *attributes = @{ NSFontAttributeName : [UIFont fontWithName:@"CourierNewPSMT" size:12.0] };
|
|
|
+ NSDictionary<NSString *, id> *attributes = @{ NSFontAttributeName : UIFont.flex_codeFont };
|
|
|
NSAttributedString *attributedText = [[NSAttributedString alloc] initWithString:text attributes:attributes];
|
|
|
|
|
|
if (highlightedText.length > 0) {
|