Move QR Code Scanner camera to the right (10 pt) #3255

pull/3264/head
Vladyslav shepitko 3 years ago
parent ff6f03cef8
commit 636afa8e74
  1. 10
      AlphaWallet/Tokens/ViewControllers/TokensViewController.swift

@ -247,9 +247,15 @@ class TokensViewController: UIViewController {
setupFilteringWithKeyword()
//NOTE: https://github.com/AlphaWallet/alpha-wallet-ios/issues/3255
let myqrCodeBarButton = UIBarButtonItem.myqrCodeBarButton(self, selector: #selector(myQRCodeButtonSelected))
let qrCodeBarButton = UIBarButtonItem.qrCodeBarButton(self, selector: #selector(scanQRCodeButtonSelected))
myqrCodeBarButton.imageInsets = .init(top: 0, left: 0, bottom: 0, right: 0)
qrCodeBarButton.imageInsets = .init(top: 0, left: 10, bottom: 0, right: -10)
navigationItem.rightBarButtonItems = [
UIBarButtonItem.myqrCodeBarButton(self, selector: #selector(myQRCodeButtonSelected)),
UIBarButtonItem.qrCodeBarButton(self, selector: #selector(scanQRCodeButtonSelected))
myqrCodeBarButton,
qrCodeBarButton
]
navigationItem.leftBarButtonItem = UIBarButtonItem(customView: blockieImageView)

Loading…
Cancel
Save