라이브방 하트 메시지
- 글자색과 배경색 변경
This commit is contained in:
		| @@ -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)) | ||||
|     } | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -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() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung