From 866b65d0edb97466cc46c68e6772359425f8ec65 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Fri, 5 Sep 2025 14:11:27 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BA=90=EB=A6=AD=ED=84=B0=20=ED=83=AD=20-=20?= =?UTF-8?q?=EC=84=B9=EC=85=98=20=EC=82=AC=EC=9D=B4=20=EA=B0=84=EA=B2=A9=20?= =?UTF-8?q?48=20=EC=B1=84=ED=8C=85=20=EC=BA=90=EB=A6=AD=ED=84=B0=20?= =?UTF-8?q?=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EB=B9=84=EC=9C=A8=202:3=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD=20=EC=B1=84=ED=8C=85=20=EB=B0=B0?= =?UTF-8?q?=EA=B2=BD=20=EC=82=AC=EC=A7=84=20->=20=EC=B1=84=ED=8C=85=20?= =?UTF-8?q?=EB=B0=B0=EA=B2=BD=20=EC=9D=B4=EB=AF=B8=EC=A7=80=EB=A1=9C=20?= =?UTF-8?q?=EB=8B=A8=EC=96=B4=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SodaLive/Sources/Chat/Character/CharacterSectionView.swift | 2 +- SodaLive/Sources/Chat/Character/CharacterView.swift | 6 +++--- .../Chat/Character/Recent/RecentCharacterSectionView.swift | 4 +++- SodaLive/Sources/Chat/Talk/Room/ChatRoomView.swift | 4 ++-- .../Chat/Talk/Room/Settings/ChatBgSelectionView.swift | 6 +++--- .../Sources/Chat/Talk/Room/Settings/ChatSettingsView.swift | 2 +- 6 files changed, 13 insertions(+), 11 deletions(-) diff --git a/SodaLive/Sources/Chat/Character/CharacterSectionView.swift b/SodaLive/Sources/Chat/Character/CharacterSectionView.swift index dbd99fa..c9d3803 100644 --- a/SodaLive/Sources/Chat/Character/CharacterSectionView.swift +++ b/SodaLive/Sources/Chat/Character/CharacterSectionView.swift @@ -13,7 +13,7 @@ struct CharacterSectionView: View { var onTap: (Character) -> Void = { _ in } var body: some View { - VStack(alignment: .leading, spacing: 12) { + VStack(alignment: .leading, spacing: 16) { Text(title) .font(.custom(Font.preBold.rawValue, size: 20)) .foregroundColor(.white) diff --git a/SodaLive/Sources/Chat/Character/CharacterView.swift b/SodaLive/Sources/Chat/Character/CharacterView.swift index 2114403..4ddaaa2 100644 --- a/SodaLive/Sources/Chat/Character/CharacterView.swift +++ b/SodaLive/Sources/Chat/Character/CharacterView.swift @@ -15,7 +15,7 @@ struct CharacterView: View { var body: some View { BaseView(isLoading: $viewModel.isLoading) { ScrollView(.vertical, showsIndicators: false) { - VStack(alignment: .leading, spacing: 24) { + VStack(alignment: .leading, spacing: 48) { // 배너 if !viewModel.banners.isEmpty { AutoSlideCharacterBannerView(items: viewModel.banners) { banner in @@ -45,7 +45,7 @@ struct CharacterView: View { // 큐레이션 섹션 (여러 섹션) if !viewModel.curations.isEmpty { - VStack(alignment: .leading, spacing: 24) { + VStack(alignment: .leading, spacing: 48) { ForEach(viewModel.curations.indices, id: \.self) { idx in let section = viewModel.curations[idx] CharacterSectionView( @@ -58,7 +58,7 @@ struct CharacterView: View { } } } - .padding(.vertical, 24) + .padding(.bottom, 24) } .background(Color.black.ignoresSafeArea()) .onAppear { diff --git a/SodaLive/Sources/Chat/Character/Recent/RecentCharacterSectionView.swift b/SodaLive/Sources/Chat/Character/Recent/RecentCharacterSectionView.swift index f929d8a..c493af2 100644 --- a/SodaLive/Sources/Chat/Character/Recent/RecentCharacterSectionView.swift +++ b/SodaLive/Sources/Chat/Character/Recent/RecentCharacterSectionView.swift @@ -13,14 +13,16 @@ struct RecentCharacterSectionView: View { var onTap: (RecentCharacter) -> Void = { _ in } var body: some View { - VStack(alignment: .leading, spacing: 12) { + VStack(alignment: .leading, spacing: 16) { HStack(spacing: 0) { Text("최근 대화한 캐릭터 ") .font(.custom(Font.preBold.rawValue, size: 20)) .foregroundColor(.white) + Text("\(titleCount)") .font(.custom(Font.preBold.rawValue, size: 20)) .foregroundColor(Color(hex: "FDCA2F")) + Spacer() } .padding(.horizontal, 24) diff --git a/SodaLive/Sources/Chat/Talk/Room/ChatRoomView.swift b/SodaLive/Sources/Chat/Talk/Room/ChatRoomView.swift index d219a65..b4e11dc 100644 --- a/SodaLive/Sources/Chat/Talk/Room/ChatRoomView.swift +++ b/SodaLive/Sources/Chat/Talk/Room/ChatRoomView.swift @@ -334,7 +334,7 @@ struct ChatRoomBgView: View { var body: some View { GeometryReader { geo in let width = geo.size.width - let height = width * 5 / 4 + let height = width * 3 / 2 ZStack { if let url = url { @@ -353,7 +353,7 @@ struct ChatRoomBgView: View { .frame(width: width, height: height) .clipped() } - .aspectRatio(4/5, contentMode: .fit) + .aspectRatio(2/3, contentMode: .fit) } } diff --git a/SodaLive/Sources/Chat/Talk/Room/Settings/ChatBgSelectionView.swift b/SodaLive/Sources/Chat/Talk/Room/Settings/ChatBgSelectionView.swift index 5e1f9d9..cdefd91 100644 --- a/SodaLive/Sources/Chat/Talk/Room/Settings/ChatBgSelectionView.swift +++ b/SodaLive/Sources/Chat/Talk/Room/Settings/ChatBgSelectionView.swift @@ -25,7 +25,7 @@ struct ChatBgSelectionView: View { var body: some View { BaseView(isLoading: $viewModel.isLoading) { VStack(spacing: 0) { - DetailNavigationBar(title: "배경 사진 선택") { + DetailNavigationBar(title: "배경 이미지 선택") { isShowing = false } // 갤러리 그리드 @@ -73,7 +73,7 @@ struct ChatBgSelectionView: View { private func galleryImageView(item: CharacterImageListItemResponse) -> some View { GeometryReader { geo in let width = geo.size.width - let height = width * 5 / 4 + let height = width * 3 / 2 ZStack(alignment: .bottomTrailing) { // 이미지 @@ -110,7 +110,7 @@ struct ChatBgSelectionView: View { .contentShape(Rectangle()) .onTapGesture { onTapBgImage(item) } } - .aspectRatio(4/5, contentMode: .fit) + .aspectRatio(2/3, contentMode: .fit) } } diff --git a/SodaLive/Sources/Chat/Talk/Room/Settings/ChatSettingsView.swift b/SodaLive/Sources/Chat/Talk/Room/Settings/ChatSettingsView.swift index 4ebcd19..9857521 100644 --- a/SodaLive/Sources/Chat/Talk/Room/Settings/ChatSettingsView.swift +++ b/SodaLive/Sources/Chat/Talk/Room/Settings/ChatSettingsView.swift @@ -25,7 +25,7 @@ struct ChatSettingsView: View { VStack(spacing: 0) { VStack(spacing: 0) { Toggle(isOn: $isHideBg) { - Text("배경 이미지 숨김") + Text("배경 이미지 끄기") .font(.custom(Font.preBold.rawValue, size: 18)) .foregroundColor(Color(hex: "B0BEC5")) }