We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 181b14c commit 9ca4f58Copy full SHA for 9ca4f58
Classes/Views/PBGitXMessageSheet.m
@@ -128,8 +128,9 @@ - (void)beginMessageSheetWithMessageText:(NSString *)message
128
129
- (void)setInfoString:(NSString *)info
130
{
131
- NSDictionary *attributes = [NSDictionary dictionaryWithObject:[NSFont labelFontOfSize:[NSFont smallSystemFontSize]]
132
- forKey:NSFontAttributeName];
+ NSDictionary *attributes = @{NSFontAttributeName: [NSFont labelFontOfSize:[NSFont smallSystemFontSize]],
+ NSForegroundColorAttributeName: [NSColor textColor],
133
+ };
134
NSAttributedString *attributedInfoString = [[NSAttributedString alloc] initWithString:info attributes:attributes];
135
[[self.infoView textStorage] setAttributedString:attributedInfoString];
136
}
0 commit comments