mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Subtract stars balance automatically
This commit is contained in:
@@ -304,6 +304,8 @@ public final class AccountContextImpl: AccountContext {
|
||||
self.starsContext = nil
|
||||
}
|
||||
|
||||
self.account.stateManager.starsContext = self.starsContext
|
||||
|
||||
if let locationManager = self.sharedContextImpl.locationManager, sharedContext.applicationBindings.isMainApp && !temp {
|
||||
self.peersNearbyManager = PeersNearbyManagerImpl(account: account, engine: self.engine, locationManager: locationManager, inForeground: sharedContext.applicationBindings.applicationInForeground)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user