fix(donation): 빈 상태와 캔 표시를 수정한다

This commit is contained in:
Yu Sung
2026-08-26 15:12:24 +09:00
parent 05b86bf314
commit ac29fd7114
5 changed files with 138 additions and 12 deletions

View File

@@ -57,7 +57,7 @@ struct CreatorChannelDonationCard: View {
.scaledToFit()
.frame(width: 18, height: 18)
Text(I18n.LiveChat.canWithUnit(donation.can))
Text("\(donation.can)")
.appFont(size: 14, weight: .regular)
.foregroundColor(.white)
.lineLimit(1)

View File

@@ -20,7 +20,9 @@ struct CreatorChannelDonationTabView: View {
private var content: some View {
VStack(spacing: 0) {
CreatorChannelDonationCountBar(donationCount: viewModel.donationCount)
if viewModel.donationCount > 0 || viewModel.rankings.isEmpty == false {
CreatorChannelDonationCountBar(donationCount: viewModel.donationCount)
}
if isEmptyState {
CreatorChannelDonationEmptyView(