Tint with accent color
This commit is contained in:
@@ -11,9 +11,9 @@ and this project does adhere to [Semantic Versioning](https://semver.org/spec/v2
|
|||||||
## [1.1.0] - 2020-01-17
|
## [1.1.0] - 2020-01-17
|
||||||
### Added
|
### Added
|
||||||
- *QuickLook*: Thumbnail previews for OPML files (QLOPML v1.3)
|
- *QuickLook*: Thumbnail previews for OPML files (QLOPML v1.3)
|
||||||
|
- *Status Bar Menu*: Tint menu bar icon with Accent color (macOS 10.14+)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- *Status Bar Menu*: Tint menu bar icon on macOS 10.14+
|
|
||||||
- Resolved Xcode warnings in Xcode 11
|
- Resolved Xcode warnings in Xcode 11
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
Cartfile
2
Cartfile
@@ -1 +1 @@
|
|||||||
github "relikd/RSXML2" "v2.0.0"
|
github "relikd/RSXML2" "f1a02fabbdece48e3f7835725c65a7589d98782f"
|
||||||
@@ -1 +1 @@
|
|||||||
github "relikd/RSXML2" "v2.0.0"
|
github "relikd/RSXML2" "f1a02fabbdece48e3f7835725c65a7589d98782f"
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>14598</string>
|
<string>14603</string>
|
||||||
<key>LSApplicationCategoryType</key>
|
<key>LSApplicationCategoryType</key>
|
||||||
<string>public.app-category.news</string>
|
<string>public.app-category.news</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
|
|||||||
@@ -38,7 +38,11 @@
|
|||||||
static NSColor *color;
|
static NSColor *color;
|
||||||
static dispatch_once_t onceToken;
|
static dispatch_once_t onceToken;
|
||||||
dispatch_once(&onceToken, ^{
|
dispatch_once(&onceToken, ^{
|
||||||
color = UserPrefsColor(Pref_colorStatusIconTint, [self rssOrange]);
|
if (@available(macOS 10.14, *)) {
|
||||||
|
color = UserPrefsColor(Pref_colorStatusIconTint, [NSColor controlAccentColor]);
|
||||||
|
} else {
|
||||||
|
color = UserPrefsColor(Pref_colorStatusIconTint, [self rssOrange]);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
return color;
|
return color;
|
||||||
}
|
}
|
||||||
@@ -47,7 +51,11 @@
|
|||||||
static NSColor *color;
|
static NSColor *color;
|
||||||
static dispatch_once_t onceToken;
|
static dispatch_once_t onceToken;
|
||||||
dispatch_once(&onceToken, ^{
|
dispatch_once(&onceToken, ^{
|
||||||
color = UserPrefsColor(Pref_colorUnreadIndicator, [NSColor systemBlueColor]);
|
if (@available(macOS 10.14, *)) {
|
||||||
|
color = UserPrefsColor(Pref_colorStatusIconTint, [NSColor controlAccentColor]);
|
||||||
|
} else {
|
||||||
|
color = UserPrefsColor(Pref_colorStatusIconTint, [NSColor systemBlueColor]);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
return color;
|
return color;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user