Fix colorUnreadIndicator not being used

This commit is contained in:
relikd
2020-11-27 17:42:13 +01:00
parent 7df70a7936
commit 239527908f
3 changed files with 6 additions and 4 deletions

View File

@@ -52,9 +52,9 @@
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
if (@available(macOS 10.14, *)) {
color = UserPrefsColor(Pref_colorStatusIconTint, [NSColor controlAccentColor]);
color = UserPrefsColor(Pref_colorUnreadIndicator, [NSColor controlAccentColor]);
} else {
color = UserPrefsColor(Pref_colorStatusIconTint, [NSColor systemBlueColor]);
color = UserPrefsColor(Pref_colorUnreadIndicator, [NSColor systemBlueColor]);
}
});
return color;