@ -151,7 +151,7 @@ class TokensCoordinator: Coordinator {
@objc private func blockieButtonSelected ( _ sender : UIButton ) {
delegate ? . blockieSelected ( in : self )
}
@objc private func scanQRCodeButtonSelected ( _ sender : UIBarButtonItem ) {
if config . shouldReadClipboardForWalletConnectUrl {
if let s = UIPasteboard . general . string ? ? UIPasteboard . general . url ? . absoluteString , let url = AlphaWallet . WalletConnect . ConnectionUrl ( s ) {
@ -239,7 +239,9 @@ extension TokensCoordinator: TokensViewControllerDelegate {
GetWalletNameCoordinator ( config : config ) . getName ( forAddress : sessions . anyValue . account . address )
} . done { [ weak self ] name in
self ? . tokensViewController . navigationItem . title = name ? ? viewModel . walletDefaultTitle
} . cauterize ( )
// D o n ' t ` c a u t e r i z e ` h e r e b e c a u s e w e d o n ' t w a n t t o P r o m i s e K i t t o s h o w t h e e r r o r m e s s a g e s f r o m U n s t o p p a b l e D o m a i n s A P I , s u g g e s t i n g t h e r e ' s a n A P I e r r o r w h e n t h e r e a s o n c o u l d b e t h a t t h e a d d r e s s b e i n g l o o k e d u p s i m p l y d o e s n o t h a v e a r e g i s t e r e d n a m e
// e g . : P r o m i s e K i t : c a u t e r i z e d - e r r o r : U n s t o p p a b l e D o m a i n s V 2 A p i E r r o r ( l o c a l i z e d D e s c r i p t i o n : " E r r o r c a l l i n g h t t p s : / / u n s t o p p a b l e d o m a i n s . g . a l c h e m y . c o m A P I t r u e " )
} . catch { _ in }
}
private func getWalletBlockie ( ) {