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
|
// MARK: NSViewController
|
||||||
|
|
||||||
override func viewDidLoad() {
|
override func viewDidLoad() {
|
||||||
|
|
||||||
imageView!.wantsLayer = true
|
imageView!.wantsLayer = true
|
||||||
let cornerRadius = appDelegate.currentTheme.float(forKey: "MainWindow.Timeline.cell.avatarCornerRadius")
|
imageView!.layer?.cornerRadius = 4.0
|
||||||
imageView!.layer?.cornerRadius = cornerRadius
|
|
||||||
|
|
||||||
updateUI()
|
updateUI()
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ final class DetailStatusBarView: NSView {
|
||||||
didConfigureLayerRadius = true
|
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
|
layer.backgroundColor = color.cgColor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue