mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 20:16:54 +01:00
Remove remainder of DB5 dependencies.
This commit is contained in:
parent
e1b3bda814
commit
b8718263ce
@ -0,0 +1,20 @@
|
||||
{
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
},
|
||||
"colors" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"color" : {
|
||||
"color-space" : "srgb",
|
||||
"components" : {
|
||||
"red" : "0.940",
|
||||
"alpha" : "1.000",
|
||||
"blue" : "0.940",
|
||||
"green" : "0.940"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -42,10 +42,8 @@ final class FeedInspectorViewController: NSViewController, Inspector {
|
||||
// MARK: NSViewController
|
||||
|
||||
override func viewDidLoad() {
|
||||
|
||||
imageView!.wantsLayer = true
|
||||
let cornerRadius = appDelegate.currentTheme.float(forKey: "MainWindow.Timeline.cell.avatarCornerRadius")
|
||||
imageView!.layer?.cornerRadius = cornerRadius
|
||||
imageView!.layer?.cornerRadius = 4.0
|
||||
|
||||
updateUI()
|
||||
|
||||
|
@ -56,7 +56,7 @@ final class DetailStatusBarView: NSView {
|
||||
didConfigureLayerRadius = true
|
||||
}
|
||||
|
||||
let color = self.effectiveAppearance.isDarkMode ? NSColor.textBackgroundColor : appDelegate.currentTheme.color(forKey: "MainWindow.Detail.statusBar.backgroundColor")
|
||||
let color = self.effectiveAppearance.isDarkMode ? NSColor.textBackgroundColor : NSColor(named: "DetailStatusBarBackground")!
|
||||
layer.backgroundColor = color.cgColor
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user