mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-07 01:10:09 +00:00
Merge commit '90d4ae0195dcbcae498b7c600082fd5b6ba2c834'
This commit is contained in:
commit
489d12fcad
@ -176,6 +176,8 @@ public func PremiumBoostScreen(
|
||||
}
|
||||
} else if let boost = occupiedBoosts.first, let occupiedPeer = boost.peer {
|
||||
let replaceController = replaceBoostConfirmationController(context: context, fromPeers: [occupiedPeer], toPeer: peer, commit: {
|
||||
currentMyBoostCount += 1
|
||||
myBoostCount += 1
|
||||
let _ = (context.engine.peers.applyChannelBoost(peerId: peerId, slots: [boost.slot])
|
||||
|> deliverOnMainQueue).startStandalone(completed: { [weak controller] in
|
||||
let _ = (updatedState.get()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user