Skip to content

Commit

Permalink
Update app-ios/Modules/Sources/FloorMap/SideEventRow.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Ryoya Ito <[email protected]>
  • Loading branch information
coffmark and ry-itto authored Aug 26, 2023
1 parent de50eea commit f76893e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app-ios/Modules/Sources/FloorMap/SideEventRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ struct SideEventRow: View {
Spacer(minLength: 0)

// Image
if let imageLink = sideEvent.link {
CacheAsyncImage(url: URL(string: imageLink)!) { image in
if let imageLink = sideEvent.link, let imageUrl = URL(string: imageLink) {
CacheAsyncImage(url: imageUrl) { image in
image.resizable()
} placeholder: {
Color.gray
Expand Down

0 comments on commit f76893e

Please sign in to comment.