Fixes the back button after scan a qr code
This commit is contained in:
parent
744b03a0f7
commit
4454482c53
1 changed files with 4 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.services').factory('incomingData', function($log, $state, $window, bitcore, lodash) {
|
||||
angular.module('copayApp.services').factory('incomingData', function($log, $state, $window, $timeout, bitcore, lodash) {
|
||||
|
||||
var root = {};
|
||||
|
||||
|
|
@ -53,7 +53,8 @@ angular.module('copayApp.services').factory('incomingData', function($log, $stat
|
|||
|
||||
var amount = parsed.amount ? parsed.amount : '';
|
||||
|
||||
$state.go('tabs.send').then(function() {
|
||||
$state.go('tabs.send');
|
||||
$timeout(function() {
|
||||
if (parsed.r) {
|
||||
$state.transitionTo('tabs.send.confirm', {paypro: parsed.r});
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue