크리에이터 커뮤니티 게시물
- 구매하지 않은 유료 게시물도 내용은 보이도록 수정
This commit is contained in:
@@ -68,25 +68,25 @@ struct CreatorCommunityAllItemView: View {
|
||||
}
|
||||
}
|
||||
|
||||
if item.price <= 0 || item.existOrdered {
|
||||
DetectableTextView(text: item.content, textSize: 13.3, font: Font.medium.rawValue)
|
||||
.frame(
|
||||
width: screenSize().width - 42,
|
||||
height: textHeight
|
||||
DetectableTextView(text: item.content, textSize: 13.3, font: Font.medium.rawValue)
|
||||
.frame(
|
||||
width: screenSize().width - 42,
|
||||
height: textHeight
|
||||
)
|
||||
.onAppear {
|
||||
self.textHeight = self.estimatedHeight(
|
||||
for: item.content,
|
||||
width: screenSize().width - 42
|
||||
)
|
||||
.onAppear {
|
||||
self.textHeight = self.estimatedHeight(
|
||||
for: item.content,
|
||||
width: screenSize().width - 42
|
||||
)
|
||||
}
|
||||
.onChange(of: item.content) { newText in
|
||||
self.textHeight = self.estimatedHeight(
|
||||
for: newText,
|
||||
width: screenSize().width - 42
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
.onChange(of: item.content) { newText in
|
||||
self.textHeight = self.estimatedHeight(
|
||||
for: newText,
|
||||
width: screenSize().width - 42
|
||||
)
|
||||
}
|
||||
|
||||
if item.price <= 0 || item.existOrdered {
|
||||
if let imageUrl = item.imageUrl {
|
||||
KFImage(URL(string: imageUrl))
|
||||
.resizable()
|
||||
|
Reference in New Issue
Block a user