fix(donation): 빈 상태와 캔 표시를 수정한다
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user