Don't link unused code

This commit is contained in:
Ali
2020-02-01 23:34:19 +04:00
parent 615e2c7e1a
commit 7e4a7df596
23 changed files with 111 additions and 23 deletions

View File

@@ -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,