mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-01 20:28:05 +00:00
Fix
This commit is contained in:
parent
a9ce88255d
commit
9bba73a8ff
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user