import with Qr in onboarding

This commit is contained in:
Gabriel Bazán 2016-09-01 12:10:08 -03:00
commit 7835694fb2
5 changed files with 15 additions and 5 deletions

View file

@ -2,6 +2,12 @@
angular.module('copayApp.controllers').controller('welcomeController', function($scope, $state, $timeout, $log, $ionicPopup, profileService) {
$scope.goImport = function(code) {
$state.go('tabs.import', {
code: code
});
};
$scope.createProfile = function() {
$log.debug('Creating profile');
profileService.createProfile(function(err) {