qr: send tor modal show fix

This commit is contained in:
ardocrat 2024-05-16 22:50:42 +03:00
parent 4a4bcb4feb
commit a66a8956dc

View file

@ -419,8 +419,8 @@ impl WalletContent {
// Redirect to send amount with Tor. // Redirect to send amount with Tor.
let addr = wallet.slatepack_address().unwrap(); let addr = wallet.slatepack_address().unwrap();
let mut transport = WalletTransport::new(addr.clone()); let mut transport = WalletTransport::new(addr.clone());
transport.show_send_tor_modal(cb, Some(receiver.to_string()));
modal.close(); modal.close();
transport.show_send_tor_modal(cb, Some(receiver.to_string()));
self.current_tab = Box::new(transport); self.current_tab = Box::new(transport);
return; return;
} }