라이브 메인 - 이벤트 클릭 이벤트 추가
This commit is contained in:
		| @@ -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) | ||||
|                                     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung