mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Various fixes
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user