Update: Skips onboarding and email collection screens, create wallets on startup and move to home tab

This commit is contained in:
Sam Cheng Hung 2018-04-20 21:11:48 +08:00
commit 919473e7bd
4 changed files with 10 additions and 13 deletions

View file

@ -33,6 +33,7 @@ angular.module('copayApp.controllers').controller('tourController',
$scope.localCurrencyPerBtc = $filter('formatFiatAmount')(parseFloat(rate.toFixed(2), 10));
$timeout(function() {
$scope.$apply();
$scope.createDefaultWallet();
})
});
});
@ -93,12 +94,12 @@ angular.module('copayApp.controllers').controller('tourController',
$q.all([bchAddressPromise, btcAddressPromise]).then(function(addresses) {
ongoingProcess.set('generatingNewAddress', false);
goToCollectEmail();
$state.go('tabs.home');
}, function(e) {
ongoingProcess.set('generatingNewAddress', false);
$log.warn(e);
popupService.showAlert(gettextCatalog.getString('Error'), e);
goToCollectEmail();
$state.go('tabs.home');
});
});
}, 300);

View file

@ -83,3 +83,7 @@
content: '';
}
}
.loading .spinner svg {
margin-top: 0;
}