Fix build errors.
This commit is contained in:
parent
de228c69c4
commit
1660d77668
|
@ -54,8 +54,8 @@ final class IconView: NSView {
|
|||
return imageView.frame.size.height < bounds.size.height
|
||||
}
|
||||
|
||||
private static var lightBackgroundColor = AppAssets.iconLightBackgroundColor
|
||||
private static var darkBackgroundColor = AppAssets.iconDarkBackgroundColor
|
||||
private static var lightBackgroundColor = AppAsset.Mac.iconLightBackgroundColor
|
||||
private static var darkBackgroundColor = AppAsset.Mac.iconDarkBackgroundColor
|
||||
|
||||
override init(frame frameRect: NSRect) {
|
||||
super.init(frame: frameRect)
|
||||
|
|
|
@ -70,7 +70,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
|
|||
os_log(.debug, "Is first run.")
|
||||
}
|
||||
|
||||
FaviconGenerator.faviconTemplateImage = AppAssets.faviconTemplateImage
|
||||
FaviconGenerator.faviconTemplateImage = AppAsset.faviconTemplate
|
||||
|
||||
importFeedsIfNeeded()
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ final class IconView: UIView {
|
|||
private var isDiscernable = true
|
||||
|
||||
private let imageView: UIImageView = {
|
||||
let imageView = NonIntrinsicImageView(image: AppAssets.faviconTemplateImage)
|
||||
let imageView = NonIntrinsicImageView(image: AppAsset.faviconTemplate)
|
||||
imageView.contentMode = .scaleAspectFit
|
||||
imageView.clipsToBounds = true
|
||||
imageView.layer.cornerRadius = 2.0
|
||||
|
|
|
@ -70,7 +70,7 @@ private extension TimelinePreviewTableViewController {
|
|||
let status = ArticleStatus(articleID: prototypeID, read: false, starred: false, dateArrived: Date())
|
||||
let prototypeArticle = Article(accountID: prototypeID, articleID: prototypeID, feedID: prototypeID, uniqueID: prototypeID, title: longTitle, contentHTML: nil, contentText: nil, url: nil, externalURL: nil, summary: nil, imageURL: nil, datePublished: nil, dateModified: nil, authors: nil, status: status)
|
||||
|
||||
let iconImage = IconImage(AppAssets.faviconTemplateImage.withTintColor(AppAssets.secondaryAccentColor))
|
||||
let iconImage = IconImage(AppAsset.faviconTemplate.withTintColor(AppAssets.secondaryAccentColor))
|
||||
|
||||
return TimelineCellData(article: prototypeArticle, showFeedName: .feed, feedName: "Feed Name", byline: nil, iconImage: iconImage, showIcon: true, featuredImage: nil, numberOfLines: AppDefaults.shared.timelineNumberOfLines, iconSize: AppDefaults.shared.timelineIconSize)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue