File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -2632,11 +2632,17 @@ - (NSView *)tableView:(NSTableView *)tableView
26322632
26332633 cellView.nickTextField .attributedStringValue = [NSAttributedString attributedStringWithString: [user nick ]
26342634 attributes: attributes];
2635-
26362635 cellView.nickTextField .toolTip = [user nick ];
2637-
26382636 cellView.statusTextField .toolTip = [user status ];
26392637 cellView.statusTextField .stringValue = [user status ];
2638+
2639+ NSString *osxMode = [[NSUserDefaults standardUserDefaults ] stringForKey: @" AppleInterfaceStyle" ];
2640+ if (osxMode == nil ) {
2641+ cellView.statusTextField .textColor = [NSColor colorWithCalibratedRed: 153.0 /255.0 green: 153.0 /255.0 blue: 153.0 /255.0 alpha: 1.0 ]; // Light mode
2642+ } else {
2643+ cellView.statusTextField .textColor = [NSColor colorWithCalibratedRed: 197.0 /255.0 green: 197.0 /255.0 blue: 197.0 /255.0 alpha: 1.0 ]; // Dark mode
2644+ }
2645+
26402646 cellView.imageView .image = [user iconWithIdleTint: YES ];
26412647
26422648 return cellView;
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ @implementation WCUser
9696
9797+ (NSColor *)colorForColor : (WCAccountColor)color idleTint : (BOOL )idleTint {
9898 NSColor *value;
99-
99+
100100 NSString *osxMode = [[NSUserDefaults standardUserDefaults ] stringForKey: @" AppleInterfaceStyle" ];
101101
102102 switch (color) {
You can’t perform that action at this time.
0 commit comments