Wallet/src/js/controllers/onboarding/notifications.js

13 lines
365 B
JavaScript
Raw Normal View History

2016-08-25 16:31:47 -03:00
'use strict';
2016-09-02 15:42:45 -03:00
angular.module('copayApp.controllers').controller('notificationsController', function($scope, $state, $stateParams, profileService) {
2016-08-25 16:31:47 -03:00
2016-09-02 15:42:45 -03:00
$scope.walletId = $stateParams.walletId;
2016-08-25 16:31:47 -03:00
$scope.allowNotif = function() {
2016-08-29 11:56:31 -03:00
profileService.pushNotificationsInit();
$state.go('onboarding.backupRequest', {
walletId: $scope.walletId
});
2016-08-25 16:31:47 -03:00
}
});