Complete switch on Mac from AppAssets to AppAsset.

This commit is contained in:
Brent Simmons
2024-10-30 21:28:31 -07:00
parent 9bffd090f3
commit c3fbdbc4e1
15 changed files with 151 additions and 163 deletions

View File

@@ -24,7 +24,7 @@ import Images
let nameForDisplayPrefix = NSLocalizedString("Search: ", comment: "Search smart feed title prefix")
let searchString: String
let fetchType: FetchType
var smallIcon: IconImage? = AppAssets.searchFeedImage
var smallIcon: IconImage? = AppAsset.searchFeedImage
init(searchString: String) {
self.searchString = searchString

View File

@@ -24,7 +24,7 @@ import Images
let nameForDisplayPrefix = NSLocalizedString("Search: ", comment: "Search smart feed title prefix")
let searchString: String
let fetchType: FetchType
var smallIcon: IconImage? = AppAssets.searchFeedImage
var smallIcon: IconImage? = AppAsset.searchFeedImage
init(searchString: String, articleIDs: Set<String>) {
self.searchString = searchString

View File

@@ -20,7 +20,7 @@ import Images
let nameForDisplay = NSLocalizedString("Starred", comment: "Starred pseudo-feed title")
let fetchType: FetchType = .starred(nil)
var smallIcon: IconImage? {
return AppAssets.starredFeedImage
return AppAsset.starredFeedImage
}
func unreadCount(account: Account) async -> Int {

View File

@@ -20,7 +20,7 @@ import Images
let nameForDisplay = NSLocalizedString("Today", comment: "Today pseudo-feed title")
let fetchType = FetchType.today(nil)
var smallIcon: IconImage? {
return AppAssets.todayFeedImage
return AppAsset.todayFeedImage
}
func unreadCount(account: Account) async -> Int {

View File

@@ -41,7 +41,7 @@ final class UnreadFeed: PseudoFeed {
}
var smallIcon: IconImage? {
return AppAssets.unreadFeedImage
return AppAsset.unreadFeedImage
}
#if os(macOS)