From 69c7fb4c0b5ea81ab6cd98fe101a82dbf85f1d35 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Fri, 13 Jun 2025 21:06:20 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=BB=A4=EB=AE=A4=EB=8B=88=ED=8B=B0=20?= =?UTF-8?q?=EB=8C=93=EA=B8=80=20-=20=EB=AC=B4=EB=A3=8C=20=EC=BB=A4?= =?UTF-8?q?=EB=AE=A4=EB=8B=88=ED=8B=B0=20=EA=B8=80,=20=EB=82=B4=20?= =?UTF-8?q?=EC=BB=A4=EB=AE=A4=EB=8B=88=ED=8B=B0=20=EA=B8=80=20=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EB=B9=84=EB=B0=80=EB=8C=93=EA=B8=80=20=EC=B2=B4?= =?UTF-8?q?=ED=81=AC=EB=B0=95=EC=8A=A4=EA=B0=80=20=EB=B3=B4=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CreatorCommunity/All/CreatorCommunityAllItemView.swift | 2 +- .../Profile/CreatorCommunity/All/CreatorCommunityAllView.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/CreatorCommunityAllItemView.swift b/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/CreatorCommunityAllItemView.swift index f4ee095..a8a2371 100644 --- a/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/CreatorCommunityAllItemView.swift +++ b/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/CreatorCommunityAllItemView.swift @@ -137,7 +137,7 @@ struct CreatorCommunityAllItemView: View { CreatorCommunityCommentView( commentCount: item.commentCount, commentItem: item.firstComment, - isShowSecret: item.existOrdered, + isShowSecret: item.price > 0 && item.existOrdered && item.creatorId != UserDefaults.int(forKey: .userId), onClickWriteComment: onClickWriteComment ) .onTapGesture { diff --git a/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/CreatorCommunityAllView.swift b/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/CreatorCommunityAllView.swift index 6abda5b..1509280 100644 --- a/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/CreatorCommunityAllView.swift +++ b/SodaLive/Sources/Explorer/Profile/CreatorCommunity/All/CreatorCommunityAllView.swift @@ -31,7 +31,7 @@ struct CreatorCommunityAllView: View { }, onClickComment: { viewModel.postId = item.postId - viewModel.isShowSecret = item.existOrdered + viewModel.isShowSecret = item.price > 0 && item.existOrdered && item.creatorId != UserDefaults.int(forKey: .userId) viewModel.isShowCommentListView = true }, onClickWriteComment: { comment, isSecret in