commit
b410b95acc
1 changed files with 3 additions and 1 deletions
|
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('collectEmailController', function($scope, $state, $stateParams, profileService, walletService, platformInfo) {
|
angular.module('copayApp.controllers').controller('collectEmailController', function($scope, $state, $stateParams, profileService, walletService, platformInfo) {
|
||||||
|
|
||||||
var usePushNotifications = platformInfo.isCordova && !isWP;
|
var isCordova = platformInfo.isCordova;
|
||||||
|
var isWP = platformInfo.isWP;
|
||||||
|
var usePushNotifications = isCordova && !isWP;
|
||||||
|
|
||||||
$scope.skip = function() {
|
$scope.skip = function() {
|
||||||
if (!usePushNotifications) $state.go('onboarding.backupRequest');
|
if (!usePushNotifications) $state.go('onboarding.backupRequest');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue