From 30cceefbcff093de5b51d3766009f14288c11048 Mon Sep 17 00:00:00 2001 From: Yu Sung <hwchon1234@gmail.com> Date: Sun, 20 Aug 2023 23:21:02 +0900 Subject: [PATCH] =?UTF-8?q?=EC=86=8C=EB=8B=A4=EB=9D=BC=EC=9D=B4=EB=B8=8C?= =?UTF-8?q?=20=EC=9D=B4=EC=9A=A9=EB=B0=A9=EB=B2=95=20=EB=B0=B0=EB=84=88=20?= =?UTF-8?q?-=20=EB=9D=BC=EC=9D=B4=EB=B8=8C=20=ED=83=AD=EC=97=90=EC=84=9C?= =?UTF-8?q?=20=EB=A7=88=EC=9D=B4=20=ED=83=AD=EC=9C=BC=EB=A1=9C=20=EC=9D=B4?= =?UTF-8?q?=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SodaLive/Sources/Live/LiveView.swift | 14 -------------- SodaLive/Sources/MyPage/MyPageView.swift | 16 +++++++++++++++- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/SodaLive/Sources/Live/LiveView.swift b/SodaLive/Sources/Live/LiveView.swift index 5c9416b..3eebc5e 100644 --- a/SodaLive/Sources/Live/LiveView.swift +++ b/SodaLive/Sources/Live/LiveView.swift @@ -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 ? diff --git a/SodaLive/Sources/MyPage/MyPageView.swift b/SodaLive/Sources/MyPage/MyPageView.swift index 7fb00dc..005ccc8 100644 --- a/SodaLive/Sources/MyPage/MyPageView.swift +++ b/SodaLive/Sources/MyPage/MyPageView.swift @@ -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) + } + } } } }