Skip to content

Commit

Permalink
Merge pull request bitpay#8 from gabrielbazan7/fix/wp
Browse files Browse the repository at this point in the history
fix isWP undefined
  • Loading branch information
cmgustavo authored Aug 30, 2016
2 parents 2110b15 + edba9b0 commit b410b95
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/js/controllers/onboarding/collectEmail.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

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() {
if (!usePushNotifications) $state.go('onboarding.backupRequest');
Expand Down

0 comments on commit b410b95

Please sign in to comment.