feat(event): ID 기반 이벤트 상세 API를 연동한다
This commit is contained in:
@@ -38,7 +38,7 @@ struct EventListView: View {
|
||||
.contentShape(Rectangle())
|
||||
.onTapGesture {
|
||||
if let _ = event.detailImageUrl {
|
||||
AppState.shared.setAppStep(step: .eventDetail(event: event))
|
||||
AppState.shared.setAppStep(step: .eventDetail(eventId: event.id))
|
||||
} else if let link = event.link, link.trimmingCharacters(in: .whitespaces).count > 0, let url = URL(string: link), UIApplication.shared.canOpenURL(url) {
|
||||
UIApplication.shared.open(url)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user