mirror of https://github.com/BTCPrivate/copay.git
Go walletHome before emit event
This commit is contained in:
parent
f83fa9fc59
commit
5c2a6c96f9
|
@ -45,6 +45,7 @@ angular.module('copayApp.controllers').controller('paymentUriController',
|
||||||
this.selectWallet = function(wid) {
|
this.selectWallet = function(wid) {
|
||||||
var self = this;
|
var self = this;
|
||||||
profileService.setAndStoreFocus(wid, function() {});
|
profileService.setAndStoreFocus(wid, function() {});
|
||||||
|
go.walletHome();
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$rootScope.$emit('paymentUri', self.bitcoinURI);
|
$rootScope.$emit('paymentUri', self.bitcoinURI);
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
Loading…
Reference in New Issue