Go home after import

This commit is contained in:
Gustavo Maximiliano Cortez 2016-02-29 18:41:10 -03:00
commit 0d8bfe4eec
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -95,6 +95,7 @@ angular.module('copayApp.controllers').controller('importController',
} }
$rootScope.$emit('Local/WalletImported', walletId); $rootScope.$emit('Local/WalletImported', walletId);
notification.success(gettext('Success'), gettext('Your wallet has been imported correctly')); notification.success(gettext('Success'), gettext('Your wallet has been imported correctly'));
go.walletHome();
}); });
}, 100); }, 100);
}; };
@ -113,6 +114,7 @@ angular.module('copayApp.controllers').controller('importController',
} }
$rootScope.$emit('Local/WalletImported', walletId); $rootScope.$emit('Local/WalletImported', walletId);
notification.success(gettext('Success'), gettext('Your wallet has been imported correctly')); notification.success(gettext('Success'), gettext('Your wallet has been imported correctly'));
go.walletHome();
}); });
}, 100); }, 100);
}; };