From d93c3e8836e806c2de4a706518a0fdeda9a12df9 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Mon, 21 Aug 2023 01:29:01 +0900 Subject: [PATCH] =?UTF-8?q?=EB=9D=BC=EC=9D=B4=EB=B8=8C=20=EB=A9=94?= =?UTF-8?q?=EC=9D=B8=20-=20=EC=9D=B4=EB=B2=A4=ED=8A=B8=20=ED=81=B4?= =?UTF-8?q?=EB=A6=AD=20=EC=9D=B4=EB=B2=A4=ED=8A=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SodaLive/Sources/Live/EventBanner/SectionEventBannerView.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SodaLive/Sources/Live/EventBanner/SectionEventBannerView.swift b/SodaLive/Sources/Live/EventBanner/SectionEventBannerView.swift index 5decacd..1aa7d55 100644 --- a/SodaLive/Sources/Live/EventBanner/SectionEventBannerView.swift +++ b/SodaLive/Sources/Live/EventBanner/SectionEventBannerView.swift @@ -28,6 +28,7 @@ struct SectionEventBannerView: View { .tag(index) .onTapGesture { if let _ = item.detailImageUrl { + AppState.shared.setAppStep(step: .eventDetail(event: item)) } else if let link = item.link, link.trimmingCharacters(in: .whitespaces).count > 0, let url = URL(string: link), UIApplication.shared.canOpenURL(url) { UIApplication.shared.open(url) } @@ -39,6 +40,7 @@ struct SectionEventBannerView: View { .tag(index) .onTapGesture { if let _ = item.detailImageUrl { + AppState.shared.setAppStep(step: .eventDetail(event: item)) } else if let link = item.link, link.trimmingCharacters(in: .whitespaces).count > 0, let url = URL(string: link), UIApplication.shared.canOpenURL(url) { UIApplication.shared.open(url) }