Various improvements

This commit is contained in:
Ilya Laktyushin
2023-10-09 18:13:18 +04:00
parent 5b58ad5018
commit 56aff0306e
7 changed files with 100 additions and 23 deletions

View File

@@ -800,7 +800,7 @@ public func channelStatsController(context: AccountContext, updatedPresentationD
if let boostStatus {
boostData = .single(boostStatus)
} else {
boostData = context.engine.peers.getChannelBoostStatus(peerId: peerId)
boostData = .single(nil) |> then(context.engine.peers.getChannelBoostStatus(peerId: peerId))
}
let boostersContext = ChannelBoostersContext(account: context.account, peerId: peerId)