Merge pull request #1518 from ssotomayor/master
Hides backup button on mobile devices since the mobile browsers are not supporting downloading files, as they don't have access to the FS of the device.
This commit is contained in:
commit
4f82c15f62
2 changed files with 3 additions and 2 deletions
|
|
@ -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.iOS();
|
||||
|
||||
$scope.unitOpts = [{
|
||||
name: 'Satoshis (100,000,000 satoshis = 1BTC)',
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<div class="backup" ng-controller="MoreController">
|
||||
<h1 translate>Settings </h1>
|
||||
<div class="oh large-12 columns panel">
|
||||
<div class="oh large-12 columns panel" ng-if="!isMobile()">
|
||||
<h3><i class="fi-download m10r"></i> <span translate>Backup</span> </h3>
|
||||
<p translate class="large-8 columns text-gray">It's important to backup your wallet so that you can recover it in case of disaster</p>
|
||||
<div class="large-4 columns">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue