크리에이터 콘텐츠 리스트 - 고정 콘텐츠 핀 추가
This commit is contained in:
		| @@ -48,6 +48,12 @@ struct ContentListItemView: View { | ||||
|                             .padding(2.6) | ||||
|                             .background(Color(hex: "222222")) | ||||
|                             .cornerRadius(2.6) | ||||
|                          | ||||
|                         if item.isPin { | ||||
|                             Image("ic_pin") | ||||
|                                 .resizable() | ||||
|                                 .frame(width: 13.3, height: 13.3) | ||||
|                         } | ||||
|                     } | ||||
|                      | ||||
|                     Text(item.title) | ||||
| @@ -121,6 +127,7 @@ struct ContentListItemView_Previews: PreviewProvider { | ||||
|                 duration: "00:04:43", | ||||
|                 likeCount: 2, | ||||
|                 commentCount: 0, | ||||
|                 isPin: true, | ||||
|                 isAdult: false, | ||||
|                 isScheduledToOpen: true | ||||
|             ) | ||||
|   | ||||
| @@ -77,6 +77,7 @@ struct GetAudioContentListItem: Decodable { | ||||
|     let duration: String? | ||||
|     let likeCount: Int | ||||
|     let commentCount: Int | ||||
|     let isPin: Bool | ||||
|     let isAdult: Bool | ||||
|     let isScheduledToOpen: Bool | ||||
| } | ||||
|   | ||||
| @@ -74,6 +74,7 @@ struct UserProfileContentView_Previews: PreviewProvider { | ||||
|                     duration: "00:04:43", | ||||
|                     likeCount: 2, | ||||
|                     commentCount: 0, | ||||
|                     isPin: true, | ||||
|                     isAdult: false, | ||||
|                     isScheduledToOpen: false | ||||
|                 ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung