Remove remainder of DB5 dependencies.

This commit is contained in:
Brent Simmons 2019-04-13 12:18:55 -07:00
parent e1b3bda814
commit b8718263ce
3 changed files with 22 additions and 4 deletions

View File

@ -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"
}
}
}
]
}

View File

@ -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()

View File

@ -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
}
}