diff --git a/js/controllers/profile.js b/js/controllers/profile.js index 06fbf4e1a..a63647676 100644 --- a/js/controllers/profile.js +++ b/js/controllers/profile.js @@ -2,6 +2,7 @@ angular.module('copayApp.controllers').controller('ProfileController', function($scope, $rootScope, $location, $modal, $filter, $timeout, backupService, identityService, isMobile) { $scope.username = $rootScope.iden.getName(); $scope.isSafari = isMobile.Safari(); + $scope.isCordova = !!window.cordova; $rootScope.title = 'Profile'; $scope.hideAdv = true; diff --git a/views/profile.html b/views/profile.html index bc43b74bf..105687d1d 100644 --- a/views/profile.html +++ b/views/profile.html @@ -20,9 +20,9 @@
Backup profile + ng-show="!isSafari && !isCordova">Backup profile View profile backup + ng-show="isSafari || isCordova && !hideViewProfileBackup">View profile backup