feat(mypage): 배너에 일본어 이미지를 적용한다
This commit is contained in:
@@ -13,6 +13,8 @@ import Kingfisher
|
||||
import RefreshableScrollView
|
||||
|
||||
struct MyPageView: View {
|
||||
|
||||
@Environment(\.locale) private var locale
|
||||
|
||||
@StateObject var viewModel = MyPageViewModel()
|
||||
@StateObject var recentContentViewModel = RecentContentViewModel()
|
||||
@@ -137,8 +139,9 @@ struct MyPageView: View {
|
||||
if let url = URL(string: "https://bit.ly/4h7pVks"),
|
||||
UIApplication.shared.canOpenURL(url) {
|
||||
// SodaLive Banner
|
||||
Image("img_apply_creator")
|
||||
Image(locale.identifier.hasPrefix("ja") ? "img_apply_creator_ja" : "img_apply_creator")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(maxWidth: .infinity)
|
||||
.padding(.horizontal, 24)
|
||||
.onTapGesture {
|
||||
@@ -149,8 +152,9 @@ struct MyPageView: View {
|
||||
if let url = URL(string: "https://blog.naver.com/sodalive_official"),
|
||||
UIApplication.shared.canOpenURL(url) {
|
||||
// SodaLive Banner
|
||||
Image("img_introduce_voiceon")
|
||||
Image(locale.identifier.hasPrefix("ja") ? "img_introduce_sodalive_ja" : "img_introduce_sodalive")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(maxWidth: .infinity)
|
||||
.padding(.horizontal, 24)
|
||||
.onTapGesture {
|
||||
|
||||
Reference in New Issue
Block a user