Create shared AppAsset and start using it.

This commit is contained in:
Brent Simmons
2025-01-26 21:38:40 -08:00
parent 1bfd0ee12c
commit 69ae436ea4
16 changed files with 224 additions and 145 deletions

View File

@@ -210,13 +210,13 @@ final class ReaderAPIAccountViewController: UITableViewController {
if let accountType = accountType {
switch accountType {
case .bazQux:
return AppAssets.accountBazQuxImage
return AppAsset.image(accountType: .bazQux)
case .inoreader:
return AppAssets.accountInoreaderImage
return AppAsset.image(accountType: .inoreader)
case .theOldReader:
return AppAssets.accountTheOldReaderImage
return AppAsset.image(accountType: .theOldReader)
case .freshRSS:
return AppAssets.accountFreshRSSImage
return AppAsset.image(accountType: .freshRSS)
default:
return nil
}