diff --git a/js/controllers/more.js b/js/controllers/more.js index 5f06a84a3..e2936be34 100644 --- a/js/controllers/more.js +++ b/js/controllers/more.js @@ -1,8 +1,9 @@ 'use strict'; angular.module('copayApp.controllers').controller('MoreController', - function($scope, $rootScope, $location, $filter, backupService, walletFactory, controllerUtils, notification, rateService) { + function($scope, $rootScope, $location, $filter, backupService, walletFactory, controllerUtils, notification, rateService, isMobile) { var w = $rootScope.wallet; + $scope.isMobile = isMobile.any(); $scope.unitOpts = [{ name: 'Satoshis (100,000,000 satoshis = 1BTC)', @@ -68,6 +69,7 @@ angular.module('copayApp.controllers').controller('MoreController', $scope.priv = w.privateKey.toObj().extendedPrivateKeyString; $scope.downloadBackup = function() { + console.log(window.mobilecheck()); backupService.download(w); } diff --git a/views/more.html b/views/more.html index 65eafed3b..375eb61cf 100644 --- a/views/more.html +++ b/views/more.html @@ -1,6 +1,6 @@

Settings

-
+

Backup

It's important to backup your wallet so that you can recover it in case of disaster