Fix scrolling on iOS

This commit is contained in:
Gustavo Maximiliano Cortez 2016-07-14 18:55:46 -03:00
commit c19f0ea70c
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
3 changed files with 7 additions and 12 deletions

View file

@ -70,12 +70,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
};
self.allowRefresher = function() {
if ($ionicSideMenuDelegate.getOpenRatio() != 0) {
self.allowPullToRefresh = false;
if (isCordova && platformInfo.isIOS) $ionicScrollDelegate.$getByHandle('my-handle').freezeScroll(true);
return;
}
if (isCordova && platformInfo.isIOS) $ionicScrollDelegate.$getByHandle('my-handle').freezeScroll(false);
if ($ionicSideMenuDelegate.getOpenRatio() != 0) self.allowPullToRefresh = false;
}
self.hideBalance = function() {