Finish converting iOS from AppAssets to AppAsset.

This commit is contained in:
Brent Simmons
2024-10-30 21:40:11 -07:00
parent c3fbdbc4e1
commit 4b12dc6056
31 changed files with 149 additions and 154 deletions

View File

@@ -10,7 +10,7 @@ import UIKit
class VibrantButton: UIButton {
@IBInspectable var backgroundHighlightColor: UIColor = AppAssets.secondaryAccentColor
@IBInspectable var backgroundHighlightColor: UIColor = AppAsset.secondaryAccentColor
override init(frame: CGRect) {
super.init(frame: frame)
@@ -22,8 +22,8 @@ class VibrantButton: UIButton {
}
private func commonInit() {
setTitleColor(AppAssets.vibrantTextColor, for: .highlighted)
let disabledColor = AppAssets.secondaryAccentColor.withAlphaComponent(0.5)
setTitleColor(AppAsset.vibrantTextColor, for: .highlighted)
let disabledColor = AppAsset.secondaryAccentColor.withAlphaComponent(0.5)
setTitleColor(disabledColor, for: .disabled)
}