feat: 커뮤니티 전체보기
- gif 재생 되도록 추가
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
import SwiftUI
|
||||
import Kingfisher
|
||||
import SDWebImageSwiftUI
|
||||
|
||||
struct CreatorCommunityAllItemView: View {
|
||||
|
||||
@@ -99,10 +100,11 @@ struct CreatorCommunityAllItemView: View {
|
||||
if item.price <= 0 || item.existOrdered {
|
||||
if let imageUrl = item.imageUrl {
|
||||
ZStack {
|
||||
KFImage(URL(string: imageUrl))
|
||||
AnimatedImage(url: URL(string: imageUrl))
|
||||
.resizable()
|
||||
.aspectRatio(contentMode: .fit)
|
||||
.frame(maxWidth: .infinity)
|
||||
.scaledToFit()
|
||||
.clipped()
|
||||
|
||||
if let audioUrl = item.audioUrl {
|
||||
Image(playManager.isPlaying && playManager.currentPlayingContentId == item.postId ? "btn_audio_content_pause" : "btn_audio_content_play")
|
||||
|
||||
Reference in New Issue
Block a user