mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Refactor wallet-related modules
This commit is contained in:
@@ -218,10 +218,7 @@ func logoutOptionsController(context: AccountContext, navigationController: Navi
|
||||
presentControllerImpl?(alertController, nil)
|
||||
})
|
||||
|
||||
let hasWallets = availableWallets(postbox: context.account.postbox)
|
||||
|> map { wallets in
|
||||
return !wallets.wallets.isEmpty
|
||||
}
|
||||
let hasWallets = context.hasWallets
|
||||
|
||||
let signal = combineLatest(queue: .mainQueue(),
|
||||
context.sharedContext.presentationData,
|
||||
|
||||
Reference in New Issue
Block a user