Various fixes

This commit is contained in:
Ilya Laktyushin
2024-06-27 03:28:53 +04:00
parent 331cb1edc6
commit e23c7f2e2b
4 changed files with 16 additions and 2 deletions

View File

@@ -2369,6 +2369,8 @@ public func channelStatsController(context: AccountContext, updatedPresentationD
withdrawalDisposable.set((context.engine.peers.checkStarsRevenueWithdrawalAvailability()
|> deliverOnMainQueue).start(error: { error in
switch error {
case .serverProvided:
return
case .requestPassword:
let _ = (starsContext.state
|> take(1)