diff --git a/public/views/walletHome.html b/public/views/walletHome.html
index 3fce9dd1c..8a84bc3f0 100644
--- a/public/views/walletHome.html
+++ b/public/views/walletHome.html
@@ -35,9 +35,10 @@
-->
-
+
diff --git a/src/js/controllers/index.js b/src/js/controllers/index.js
index 977cba5de..e48ec5455 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, $ionicScrollDelegate, $ionicPopup, latestReleaseService, feeService, bwcService, pushNotificationsService, lodash, go, profileService, configService, rateService, storageService, addressService, gettext, gettextCatalog, amMoment, addonManager, bwsError, txFormatService, uxLanguage, glideraService, coinbaseService, platformInfo, addressbookService, openURLService, ongoingProcess) {
+angular.module('copayApp.controllers').controller('indexController', function($rootScope, $scope, $log, $filter, $timeout, $ionicScrollDelegate, $ionicPopup, $ionicSideMenuDelegate, latestReleaseService, feeService, bwcService, pushNotificationsService, lodash, go, profileService, configService, rateService, storageService, addressService, gettext, gettextCatalog, amMoment, addonManager, bwsError, txFormatService, uxLanguage, glideraService, coinbaseService, platformInfo, addressbookService, openURLService, ongoingProcess) {
var self = this;
var SOFT_CONFIRMATION_LIMIT = 12;
var errors = bwcService.getErrors();
@@ -68,6 +68,10 @@ angular.module('copayApp.controllers').controller('indexController', function($r
go.walletHome();
};
+ self.allowRefresher = function() {
+ if ($ionicSideMenuDelegate.getOpenRatio() != 0) self.allowPullToRefresh = false;
+ }
+
self.hideBalance = function() {
storageService.getHideBalanceFlag(self.walletId, function(err, shouldHideBalance) {
if (err) self.shouldHideBalance = false;