Various fixes

This commit is contained in:
Ilya Laktyushin 2025-03-08 00:16:23 +04:00
parent 368f6695e1
commit 8bf0663c08
2 changed files with 0 additions and 3 deletions

View file

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

View file

@ -658,7 +658,6 @@ final class StarsTransactionsScreenComponent: Component {
},
secondaryActionTitle: withdrawAvailable ? environment.strings.Stars_Intro_Stats : nil,
secondaryActionIcon: withdrawAvailable ? PresentationResourcesItemList.itemListStatsIcon(environment.theme) : nil,
secondaryActionCooldownUntilTimestamp: self.revenueState?.balances.nextWithdrawalTimestamp,
secondaryAction: withdrawAvailable ? { [weak self] in
guard let self, let component = self.component else {
return