Merge pull request #4588 from eviltofu/Fix_Swapped_Watch_And_Import_Functions_In_CreateInitialWalletViewController

Fix Swapped Watch And Import Functions In CreateInitialWalletViewController
pull/4592/head
Hwee-Boon Yar 3 years ago committed by GitHub
commit d7f0c781ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      AlphaWallet/Wallet/ViewControllers/CreateInitialWalletViewController.swift

@ -106,11 +106,11 @@ class CreateInitialWalletViewController: UIViewController {
alertController.popoverPresentationController?.sourceRect = sender.centerRect alertController.popoverPresentationController?.sourceRect = sender.centerRect
let importWalletAction = UIAlertAction(title: viewModel.importButtonTitle, style: .default) { _ in let importWalletAction = UIAlertAction(title: viewModel.importButtonTitle, style: .default) { _ in
self.delegate?.didTapWatchWallet(inViewController: self) self.delegate?.didTapImportWallet(inViewController: self)
} }
let trackWalletAction = UIAlertAction(title: viewModel.watchButtonTitle, style: .default) { _ in let trackWalletAction = UIAlertAction(title: viewModel.watchButtonTitle, style: .default) { _ in
self.delegate?.didTapImportWallet(inViewController: self) self.delegate?.didTapWatchWallet(inViewController: self)
} }
let cancelAction = UIAlertAction(title: R.string.localizable.cancel(), style: .cancel) { _ in } let cancelAction = UIAlertAction(title: R.string.localizable.cancel(), style: .cancel) { _ in }

Loading…
Cancel
Save