From 44d7cd414e05ae7661c5b02fbbabc457eb1ad37e Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Fri, 8 Nov 2024 17:21:43 +0900 Subject: [PATCH] =?UTF-8?q?=EB=9D=BC=EC=9D=B4=EB=B8=8C=EB=B0=A9=20?= =?UTF-8?q?=ED=95=98=ED=8A=B8=20=EB=A9=94=EC=8B=9C=EC=A7=80=20-=20?= =?UTF-8?q?=EA=B8=80=EC=9E=90=EC=83=89=EA=B3=BC=20=EB=B0=B0=EA=B2=BD?= =?UTF-8?q?=EC=83=89=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Live/Room/Chat/LiveRoomHeartDonationChatItemView.swift | 6 +++--- SodaLive/Sources/Live/Room/LiveRoomViewModel.swift | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SodaLive/Sources/Live/Room/Chat/LiveRoomHeartDonationChatItemView.swift b/SodaLive/Sources/Live/Room/Chat/LiveRoomHeartDonationChatItemView.swift index 9cc25c4..b1fa6f4 100644 --- a/SodaLive/Sources/Live/Room/Chat/LiveRoomHeartDonationChatItemView.swift +++ b/SodaLive/Sources/Live/Room/Chat/LiveRoomHeartDonationChatItemView.swift @@ -19,15 +19,15 @@ struct LiveRoomHeartDonationChatItemView: View { Text(nickname) .font(.system(size: 12, weight: .bold)) - .foregroundColor(Color(hex: "f0c030")) + .foregroundColor(Color(hex: "ec3aa6")) Text("'님이 마음을 전했습니다 : 💕") .font(.system(size: 12)) - .foregroundColor(Color.white) + .foregroundColor(Color.gray11) } .padding(.vertical, 6.7) .frame(maxWidth: .infinity) - .background(Color.gray77.opacity(0.8)) + .background(Color.white.opacity(0.7)) } } diff --git a/SodaLive/Sources/Live/Room/LiveRoomViewModel.swift b/SodaLive/Sources/Live/Room/LiveRoomViewModel.swift index 3b82dc1..5adb28f 100644 --- a/SodaLive/Sources/Live/Room/LiveRoomViewModel.swift +++ b/SodaLive/Sources/Live/Room/LiveRoomViewModel.swift @@ -1981,7 +1981,7 @@ final class LiveRoomViewModel: NSObject, ObservableObject { } private func showNextHeartMessage() { - DispatchQueue.main.asyncAfter(deadline: .now() + 1) { + DispatchQueue.main.asyncAfter(deadline: .now() + 1.5) { if let nextHeartNickname = self.heartNicknameList.first { self.heartNickname = nextHeartNickname self.heartNicknameList.removeFirst() @@ -1994,7 +1994,7 @@ final class LiveRoomViewModel: NSObject, ObservableObject { func startHeartTimer() { if heartTimer == nil { let timer = DispatchSource.makeTimerSource(queue: DispatchQueue.main) - timer.schedule(deadline: .now(), repeating: 0.033) // 30 FPS + timer.schedule(deadline: .now(), repeating: 0.033) timer.setEventHandler { [unowned self] in DispatchQueue.main.async { self.updateHearts()