후원 히스토리
- 내 후원과 다른 사람의 후원 배경색 분리 (59548f)
This commit is contained in:
		| @@ -41,7 +41,11 @@ struct LiveRoomDonationMessageItemView: View { | ||||
|             } | ||||
|         } | ||||
|         .padding(13.3) | ||||
|         .background(message.canMessage.trimmingCharacters(in: .whitespaces).isEmpty ? Color(hex: "c25264").opacity(0.8) : Color.gray33) | ||||
|         .background( | ||||
|             message.canMessage.trimmingCharacters(in: .whitespaces).isEmpty ? Color(hex: "c25264").opacity(0.8) : | ||||
|                 message.memberId == UserDefaults.int(forKey: .userId) ? Color(hex: "59548F") : | ||||
|                 Color.gray33 | ||||
|         ) | ||||
|         .cornerRadius(5.3) | ||||
|     } | ||||
| } | ||||
| @@ -50,6 +54,7 @@ struct LiveRoomDonationMessageItemView: View { | ||||
|     LiveRoomDonationMessageItemView( | ||||
|         message: LiveRoomDonationMessage( | ||||
|             uuid: "", | ||||
|             memberId: 3, | ||||
|             nickname: "유저2님이", | ||||
|             canMessage: "10캔을 후원하셨습니다", | ||||
|             donationMessage: "ㅅㅅㅅ" | ||||
| @@ -63,6 +68,7 @@ struct LiveRoomDonationMessageItemView: View { | ||||
|     LiveRoomDonationMessageItemView( | ||||
|         message: LiveRoomDonationMessage( | ||||
|             uuid: "", | ||||
|             memberId: 3, | ||||
|             nickname: "유저2님의 룰렛 결과?", | ||||
|             canMessage: "", | ||||
|             donationMessage: "[테스트] 당첨!" | ||||
|   | ||||
| @@ -9,6 +9,7 @@ import Foundation | ||||
|  | ||||
| struct LiveRoomDonationMessage: Decodable { | ||||
|     let uuid: String | ||||
|     let memberId: Int | ||||
|     let nickname: String | ||||
|     let canMessage: String | ||||
|     let donationMessage: String | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung