From d8cfb9dd5ce185a8afba34b973041ba04fc6eb5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Baz=C3=A1n?= Date: Fri, 15 Jan 2016 13:41:18 -0300 Subject: [PATCH] fix duplicated isMobile --- src/js/controllers/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/js/controllers/index.js b/src/js/controllers/index.js index 92e408aab..fb5eea173 100644 --- a/src/js/controllers/index.js +++ b/src/js/controllers/index.js @@ -1,6 +1,6 @@ 'use strict'; -angular.module('copayApp.controllers').controller('indexController', function($rootScope, $scope, $log, $filter, $timeout, isMobile, pushNotificationsService, lodash, go, profileService, configService, isCordova, rateService, storageService, addressService, gettext, gettextCatalog, amMoment, nodeWebkit, addonManager, feeService, isChromeApp, bwsError, txFormatService, uxLanguage, $state, glideraService, isMobile, addressbookService) { +angular.module('copayApp.controllers').controller('indexController', function($rootScope, $scope, $log, $filter, $timeout, pushNotificationsService, lodash, go, profileService, configService, isCordova, rateService, storageService, addressService, gettext, gettextCatalog, amMoment, nodeWebkit, addonManager, feeService, isChromeApp, bwsError, txFormatService, uxLanguage, $state, glideraService, isMobile, addressbookService) { var self = this; var SOFT_CONFIRMATION_LIMIT = 12; self.isCordova = isCordova; @@ -319,7 +319,9 @@ angular.module('copayApp.controllers').controller('indexController', function($r return cb(null, opts.walletStatus); else { self.updateError = false; - return fc.getStatus({ twoStep : true }, function(err, ret) { + return fc.getStatus({ + twoStep: true + }, function(err, ret) { if (err) { self.updateError = bwsError.msg(err, gettext('Could not update Wallet')); } else {