Removes notification screen from onboarding. Also removes unused/old notification plugin

This commit is contained in:
Gustavo Maximiliano Cortez 2017-04-18 11:26:15 -03:00
commit e67737a5b1
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
8 changed files with 11 additions and 120 deletions

View file

@ -1,10 +1,6 @@
'use strict';
angular.module('copayApp.controllers').controller('backController', function($scope, $state, $stateParams, platformInfo) {
var isCordova = platformInfo.isCordova;
var isWP = platformInfo.isWP;
var usePushNotifications = isCordova && !isWP;
angular.module('copayApp.controllers').controller('backController', function($scope, $state, $stateParams) {
$scope.importGoBack = function() {
if ($stateParams.fromOnboarding) $state.go('onboarding.welcome');
@ -12,8 +8,7 @@ angular.module('copayApp.controllers').controller('backController', function($sc
};
$scope.onboardingMailSkip = function() {
if (!usePushNotifications) $state.go('onboarding.backupRequest');
else $state.go('onboarding.notifications');
$state.go('onboarding.backupRequest');
}
});