mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Don't link unused code
This commit is contained in:
@@ -219,7 +219,11 @@ func logoutOptionsController(context: AccountContext, navigationController: Navi
|
||||
presentControllerImpl?(alertController, nil)
|
||||
})
|
||||
|
||||
#if ENABLE_WALLET
|
||||
let hasWallets = context.hasWallets
|
||||
#else
|
||||
let hasWallets: Signal<Bool, NoError> = .single(false)
|
||||
#endif
|
||||
|
||||
let signal = combineLatest(queue: .mainQueue(),
|
||||
context.sharedContext.presentationData,
|
||||
|
||||
Reference in New Issue
Block a user