Explorar el Código

Use SF Mono / Menlo for log font

Tanner Bennett hace 6 años
padre
commit
c661d491a5
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      Classes/GlobalStateExplorers/SystemLog/FLEXSystemLogCell.m

+ 2 - 1
Classes/GlobalStateExplorers/SystemLog/FLEXSystemLogCell.m

@@ -8,6 +8,7 @@
 
 
 #import "FLEXSystemLogCell.h"
 #import "FLEXSystemLogCell.h"
 #import "FLEXSystemLogMessage.h"
 #import "FLEXSystemLogMessage.h"
+#import "UIFont+FLEX.h"
 
 
 NSString *const kFLEXSystemLogCellIdentifier = @"FLEXSystemLogCellIdentifier";
 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 {
 + (NSAttributedString *)attributedTextForLogMessage:(FLEXSystemLogMessage *)logMessage highlightedText:(NSString *)highlightedText {
     NSString *text = [self displayedTextForLogMessage:logMessage];
     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];
     NSAttributedString *attributedText = [[NSAttributedString alloc] initWithString:text attributes:attributes];
 
 
     if (highlightedText.length > 0) {
     if (highlightedText.length > 0) {