diff options
Diffstat (limited to '')
-rw-r--r-- | foray/Scenes/ForayDetailViewController.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/foray/Scenes/ForayDetailViewController.swift b/foray/Scenes/ForayDetailViewController.swift index 1e2f9ca..52aa6b8 100644 --- a/foray/Scenes/ForayDetailViewController.swift +++ b/foray/Scenes/ForayDetailViewController.swift @@ -29,10 +29,10 @@ class ForayDetailViewController: UIViewController, HasCustomView, Coordinated { switch item.type { case .item: description += "Item" - image = UIImage(named: item.id)! + image = UIImage(named: item.id) ?? UIImage.fromAsset(.it) case .quest: description += "Quest" - image = UIImage(named: "spy")! + image = UIImage.fromAsset(.spy) } description += "\nID: " + item.id description += "\nReleased: " + item.releaseDateFormatted |