From 835ece8a6b695974a2c6a5fa3b56e4a18630ed11 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Thu, 8 Aug 2024 03:10:07 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BB=A4=EB=AE=A4=EB=8B=88=ED=8B=B0=20?= =?UTF-8?q?=EC=98=A4=EB=94=94=EC=98=A4=20=EB=85=B9=EC=9D=8C=20-=20mode:=20?= =?UTF-8?q?videoRecording=20-=20=EC=9E=AC=EC=83=9D=20mode:=20moviePlayback?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SodaLive/Sources/Content/ContentPlayManager.swift | 2 +- .../All/Player/CreatorCommunityMediaPlayerManager.swift | 2 +- .../Write/CreatorCommunitySoundManager.swift | 2 +- .../Profile/FanTalk/UserProfileFanTalkCheersItemView.swift | 7 ++++--- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/SodaLive/Sources/Content/ContentPlayManager.swift b/SodaLive/Sources/Content/ContentPlayManager.swift index 731945c..f2617f2 100644 --- a/SodaLive/Sources/Content/ContentPlayManager.swift +++ b/SodaLive/Sources/Content/ContentPlayManager.swift @@ -87,7 +87,7 @@ extension ContentPlayManager { do { let audioSession = AVAudioSession.sharedInstance() - try audioSession.setCategory(.playback, mode: .default) + try audioSession.setCategory(.playback, mode: .moviePlayback) try audioSession.setActive(true) self.player = try AVAudioPlayer(data: audioData) diff --git a/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/Player/CreatorCommunityMediaPlayerManager.swift b/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/Player/CreatorCommunityMediaPlayerManager.swift index af7f128..f1d9a90 100644 --- a/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/Player/CreatorCommunityMediaPlayerManager.swift +++ b/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/Player/CreatorCommunityMediaPlayerManager.swift @@ -48,7 +48,7 @@ final class CreatorCommunityMediaPlayerManager: NSObject, ObservableObject { do { let audioSession = AVAudioSession.sharedInstance() - try audioSession.setCategory(.playback, mode: .default) + try audioSession.setCategory(.playback, mode: .moviePlayback) try audioSession.setActive(true) self.player = try AVAudioPlayer(data: audioData) diff --git a/SodaLive/Sources/Explorer/Profile/CreatorCommunity/Write/CreatorCommunitySoundManager.swift b/SodaLive/Sources/Explorer/Profile/CreatorCommunity/Write/CreatorCommunitySoundManager.swift index b35d767..7a37d7a 100644 --- a/SodaLive/Sources/Explorer/Profile/CreatorCommunity/Write/CreatorCommunitySoundManager.swift +++ b/SodaLive/Sources/Explorer/Profile/CreatorCommunity/Write/CreatorCommunitySoundManager.swift @@ -104,7 +104,7 @@ class CreatorCommunitySoundManager: NSObject, ObservableObject { DispatchQueue.main.async { do { - try self.audioSession.setCategory(.playback, mode: .default) + try self.audioSession.setCategory(.playback, mode: .moviePlayback) try self.audioSession.setActive(true) if let url = url { diff --git a/SodaLive/Sources/Explorer/Profile/FanTalk/UserProfileFanTalkCheersItemView.swift b/SodaLive/Sources/Explorer/Profile/FanTalk/UserProfileFanTalkCheersItemView.swift index 7a5f711..ec780d6 100644 --- a/SodaLive/Sources/Explorer/Profile/FanTalk/UserProfileFanTalkCheersItemView.swift +++ b/SodaLive/Sources/Explorer/Profile/FanTalk/UserProfileFanTalkCheersItemView.swift @@ -143,23 +143,24 @@ struct UserProfileFanTalkCheersItemView: View { VStack(alignment: .leading, spacing: 8.3) { Text(reply.content) .font(.custom(Font.medium.rawValue, size: 12)) - .foregroundColor(Color(hex: "ffffff")) + .foregroundColor(Color.white) .frame(minWidth: 100) .padding(.horizontal, 6.7) .padding(.vertical, 6.7) .background(Color.button.opacity(0.3)) .cornerRadius(16.7) .padding(.top, 18.3) + .fixedSize(horizontal: false, vertical: true) HStack(spacing: 6.7) { Text(reply.date) .font(.custom(Font.medium.rawValue, size: 10.7)) - .foregroundColor(Color(hex: "525252")) + .foregroundColor(Color.gray52) if userId == UserDefaults.int(forKey: .userId) { Text("답글 수정") .font(.custom(Font.medium.rawValue, size: 10.7)) - .foregroundColor(Color(hex: "9970ff")) + .foregroundColor(Color.button) .onTapGesture { self.replyContent = reply.content isShowInputReply = true