diff --git a/public/views/preferencesGlobal.html b/old/preferencesGlobal.html similarity index 100% rename from public/views/preferencesGlobal.html rename to old/preferencesGlobal.html diff --git a/public/views/includes/topbar.html b/old/topbar.html similarity index 100% rename from public/views/includes/topbar.html rename to old/topbar.html diff --git a/public/views/preferencesHistory.html b/public/views/preferencesHistory.html index e2d2d8d55..1118a2a99 100644 --- a/public/views/preferencesHistory.html +++ b/public/views/preferencesHistory.html @@ -4,12 +4,12 @@ - +
-
+
Export to file
-
+
Export to file preparing... diff --git a/src/js/controllers/preferencesHistory.js b/src/js/controllers/preferencesHistory.js index a44f69b36..500a8bd53 100644 --- a/src/js/controllers/preferencesHistory.js +++ b/src/js/controllers/preferencesHistory.js @@ -1,10 +1,11 @@ 'use strict'; angular.module('copayApp.controllers').controller('preferencesHistory', - function($scope, $log, $stateParams, $timeout, $ionicNavBarDelegate, gettextCatalog, storageService, $state, $ionicHistory, profileService, lodash) { + function($scope, $log, $stateParams, $timeout, $state, $ionicHistory, $ionicNavBarDelegate, gettextCatalog, storageService, platformInfo, profileService, lodash) { $ionicNavBarDelegate.title(gettextCatalog.getString('Transaction History')); $scope.wallet = profileService.getWallet($stateParams.walletId); $scope.csvReady = false; + $scope.isCordova = platformInfo.isCordova; $scope.csvHistory = function(cb) { var allTxs = [];