Fixed Asset names
This commit is contained in:
parent
513cbbd6a4
commit
cca33e65eb
|
@ -19,52 +19,52 @@ struct AppAssets {
|
|||
#endif
|
||||
|
||||
static var accountBazQux: RSImage! = {
|
||||
return RSImage(named: "accountBazQux")
|
||||
return RSImage(named: "AccountBazQux")
|
||||
}()
|
||||
|
||||
|
||||
static var accountLocalMacImage: RSImage! = {
|
||||
return RSImage(named: "accountLocalMac")
|
||||
return RSImage(named: "AccountLocalMac")
|
||||
}()
|
||||
|
||||
static var accountLocalPadImage: RSImage = {
|
||||
return RSImage(named: "accountLocalPad")!
|
||||
return RSImage(named: "AccountLocalPad")!
|
||||
}()
|
||||
|
||||
static var accountLocalPhoneImage: RSImage = {
|
||||
return RSImage(named: "accountLocalPhone")!
|
||||
return RSImage(named: "AccountLocalPhone")!
|
||||
}()
|
||||
|
||||
static var accountCloudKitImage: RSImage = {
|
||||
return RSImage(named: "accountCloudKit")!
|
||||
return RSImage(named: "AccountCloudKit")!
|
||||
}()
|
||||
|
||||
static var accountFeedbinImage: RSImage = {
|
||||
return RSImage(named: "accountFeedbin")!
|
||||
return RSImage(named: "AccountFeedbin")!
|
||||
}()
|
||||
|
||||
static var accountFeedlyImage: RSImage = {
|
||||
return RSImage(named: "accountFeedly")!
|
||||
return RSImage(named: "AccountFeedly")!
|
||||
}()
|
||||
|
||||
static var accountFeedWranglerImage: RSImage = {
|
||||
return RSImage(named: "accountFeedWrangler")!
|
||||
return RSImage(named: "AccountFeedWrangler")!
|
||||
}()
|
||||
|
||||
static var accountFreshRSSImage: RSImage = {
|
||||
return RSImage(named: "accountFreshRSS")!
|
||||
return RSImage(named: "AccountFreshRSS")!
|
||||
}()
|
||||
|
||||
static var accountInoreader: RSImage! = {
|
||||
return RSImage(named: "accountInoreader")
|
||||
return RSImage(named: "AccountInoreader")
|
||||
}()
|
||||
|
||||
static var accountNewsBlurImage: RSImage = {
|
||||
return RSImage(named: "accountNewsBlur")!
|
||||
return RSImage(named: "AccountNewsBlur")!
|
||||
}()
|
||||
|
||||
static var accountTheOldReader: RSImage! = {
|
||||
return RSImage(named: "accountTheOldReader")
|
||||
return RSImage(named: "AccountTheOldReader")
|
||||
}()
|
||||
|
||||
static var addMenuImage: Image = {
|
||||
|
|
|
@ -61,32 +61,32 @@ extension AccountType {
|
|||
case .onMyMac:
|
||||
// If it's the multiplatform app, the asset catalog contains assets for
|
||||
#if os(macOS)
|
||||
return Image("accountLocal")
|
||||
return Image("AccountLocal")
|
||||
#else
|
||||
if UIDevice.current.userInterfaceIdiom == .pad {
|
||||
return Image("accountLocalPad")
|
||||
return Image("AccountLocalPad")
|
||||
} else {
|
||||
return Image("accountLocalPhone")
|
||||
return Image("AccountLocalPhone")
|
||||
}
|
||||
#endif
|
||||
case .bazQux:
|
||||
return Image("accountBazQux")
|
||||
return Image("AccountBazQux")
|
||||
case .cloudKit:
|
||||
return Image("accountCloudKit")
|
||||
return Image("AccountCloudKit")
|
||||
case .feedWrangler:
|
||||
return Image("accountFeedWrangler")
|
||||
return Image("AccountFeedWrangler")
|
||||
case .feedbin:
|
||||
return Image("accountFeedbin")
|
||||
return Image("AccountFeedbin")
|
||||
case .feedly:
|
||||
return Image("accountFeedly")
|
||||
return Image("AccountFeedly")
|
||||
case .freshRSS:
|
||||
return Image("accountFreshRSS")
|
||||
return Image("AccountFreshRSS")
|
||||
case .inoreader:
|
||||
return Image("accountInoreader")
|
||||
return Image("AccountInoreader")
|
||||
case .newsBlur:
|
||||
return Image("accountNewsBlur")
|
||||
return Image("AccountNewsBlur")
|
||||
case .theOldReader:
|
||||
return Image("accountTheOldReader")
|
||||
return Image("AccountTheOldReader")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue