Skip to content

Commit

Permalink
[Fix] 사용자가 쓴 공개 다이어리에 잠금 표시되는 오류 수정 #146
Browse files Browse the repository at this point in the history
  • Loading branch information
mxnkng committed Feb 13, 2023
1 parent b25bb91 commit 1cae51d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ struct DiaryDetailView: View {
diaryDetailImage.zIndex(1)
Group {
HStack(alignment: .center){
if item.diary.uid == wholeAuthStore.currnetUserInfo!.id {
if (item.diary.uid == wholeAuthStore.currnetUserInfo!.id && item.diary.diaryIsPrivate) {
isPrivateImage
}
diaryDetailTitle
Expand Down

0 comments on commit 1cae51d

Please sign in to comment.