mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Finish converting iOS from AppAssets to AppAsset.
This commit is contained in:
@@ -13,11 +13,11 @@ class VibrantTableViewCell: UITableViewCell {
|
||||
static let duration: TimeInterval = 0.6
|
||||
|
||||
var labelColor: UIColor {
|
||||
return isHighlighted || isSelected ? AppAssets.vibrantTextColor : UIColor.label
|
||||
return isHighlighted || isSelected ? AppAsset.vibrantTextColor : UIColor.label
|
||||
}
|
||||
|
||||
var secondaryLabelColor: UIColor {
|
||||
return isHighlighted || isSelected ? AppAssets.vibrantTextColor : UIColor.secondaryLabel
|
||||
return isHighlighted || isSelected ? AppAsset.vibrantTextColor : UIColor.secondaryLabel
|
||||
}
|
||||
|
||||
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
|
||||
@@ -47,7 +47,7 @@ class VibrantTableViewCell: UITableViewCell {
|
||||
/// Subclass overrides should call super
|
||||
func applyThemeProperties() {
|
||||
let selectedBackgroundView = UIView(frame: .zero)
|
||||
selectedBackgroundView.backgroundColor = AppAssets.secondaryAccentColor
|
||||
selectedBackgroundView.backgroundColor = AppAsset.secondaryAccentColor
|
||||
self.selectedBackgroundView = selectedBackgroundView
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ class VibrantBasicTableViewCell: VibrantTableViewCell {
|
||||
@IBInspectable var imageSelected: UIImage?
|
||||
|
||||
var iconTint: UIColor {
|
||||
return isHighlighted || isSelected ? labelColor : AppAssets.primaryAccentColor
|
||||
return isHighlighted || isSelected ? labelColor : AppAsset.primaryAccentColor
|
||||
}
|
||||
|
||||
var iconImage: UIImage? {
|
||||
|
||||
Reference in New Issue
Block a user