fix(profile): 채널 후원 비밀 문구를 분리하고 자기 프로필 후원 버튼을 숨긴다
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user