소다라이브 이용방법 배너 - 라이브 탭에서 마이 탭으로 이동

This commit is contained in:
Yu Sung 2023-08-20 23:21:02 +09:00
parent ce55449f2d
commit 30cceefbcf
2 changed files with 15 additions and 15 deletions

View File

@ -31,20 +31,6 @@ struct LiveView: View {
.padding(.top, 13.3)
}
if let url = URL(string: "https://blog.naver.com/sodalive_official"),
UIApplication.shared.canOpenURL(url) {
Image("img_how_to_use")
.resizable()
.frame(
width: screenSize().width,
height: (200 * screenSize().width) / 1080
)
.padding(.top, 21.3)
.onTapGesture {
UIApplication.shared.open(url)
}
}
if viewModel.recommendChannelItems.count > 0 {
SectionRecommendChannelView(
items: viewModel.isFollowingList ?

View File

@ -100,11 +100,25 @@ struct MyPageView: View {
if !data.isAuth {
AuthButtonView()
.padding(.vertical, 40)
.padding(.top, 40)
.onTapGesture {
viewModel.isShowAuthView = true
}
}
if let url = URL(string: "https://blog.naver.com/sodalive_official"),
UIApplication.shared.canOpenURL(url) {
Image("img_how_to_use")
.resizable()
.frame(
width: screenSize().width,
height: (200 * screenSize().width) / 1080
)
.padding(.top, 40)
.onTapGesture {
UIApplication.shared.open(url)
}
}
}
}
}