This commit is contained in:
Ilya Laktyushin 2025-03-08 00:12:08 +04:00
parent a9ce88255d
commit 9bba73a8ff

View File

@ -628,7 +628,6 @@ final class StarsStatisticsScreenComponent: Component {
actionAvailable: true, actionAvailable: true,
actionIsEnabled: self.starsState?.balances.withdrawEnabled ?? true, actionIsEnabled: self.starsState?.balances.withdrawEnabled ?? true,
actionCooldownUntilTimestamp: self.starsState?.balances.nextWithdrawalTimestamp, actionCooldownUntilTimestamp: self.starsState?.balances.nextWithdrawalTimestamp,
actionIcon: PresentationResourcesItemList.itemListRoundTopupIcon(environment.theme),
action: { [weak self] in action: { [weak self] in
guard let self, let component = self.component else { guard let self, let component = self.component else {
return return
@ -648,7 +647,6 @@ final class StarsStatisticsScreenComponent: Component {
} }
}, },
secondaryActionTitle: strings.Stars_BotRevenue_Withdraw_BuyAds, secondaryActionTitle: strings.Stars_BotRevenue_Withdraw_BuyAds,
secondaryActionIcon: PresentationResourcesItemList.itemListRoundWithdrawIcon(environment.theme),
secondaryAction: { [weak self] in secondaryAction: { [weak self] in
guard let self, let component = self.component else { guard let self, let component = self.component else {
return return