fix(profile): 채널 후원 비밀 문구를 분리하고 자기 프로필 후원 버튼을 숨긴다

This commit is contained in:
Yu Sung
2026-02-26 00:44:37 +09:00
parent b84b996059
commit db68aa90d2
6 changed files with 165 additions and 18 deletions

View File

@@ -199,6 +199,7 @@ struct UserProfileView: View {
UserProfileChannelDonationView(
creatorId: creatorProfile.creator.creatorId,
donationItems: creatorProfile.channelDonationList,
isShowDonationButton: creatorProfile.creator.creatorId != UserDefaults.int(forKey: .userId),
onTapDonationButton: {
channelDonationViewModel.setCreatorId(creatorProfile.creator.creatorId, shouldFetch: false)
isShowChannelDonationDialog = true
@@ -439,6 +440,9 @@ struct UserProfileView: View {
isShowing: $isShowChannelDonationDialog,
isAudioContentDonation: false,
messageLimit: 100,
secretLabel: I18n.MemberChannel.secretDonationLabel,
secretMinimumCanMessage: I18n.MemberChannel.secretDonationMinimumCanMessage,
shouldPrefixSecretInMessagePlaceholder: false,
onClickDonation: { can, message, isSecret in
channelDonationViewModel.postChannelDonation(
can: can,