fix amount UI over activity UI
This commit is contained in:
parent
501731571b
commit
6ccc1c1127
5 changed files with 26 additions and 25 deletions
|
|
@ -33,7 +33,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
var vanillaScope = ret;
|
||||
|
||||
$scope.collapseBalanceContent = function(updating) {
|
||||
if (updating) return;
|
||||
if (updating || isCordova) return;
|
||||
|
||||
var scrollPosition = $ionicScrollDelegate.$getByHandle('transactions').getScrollPosition().top;
|
||||
$scope.shouldCollapse = scrollPosition > 50 ? true : false;
|
||||
|
|
@ -44,10 +44,9 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
};
|
||||
|
||||
$scope.freezeScroll = function() {
|
||||
var scrollPosition = $ionicScrollDelegate.$getByHandle('balance').getScrollPosition().top;
|
||||
var openRatio = $ionicSideMenuDelegate.getOpenRatio();
|
||||
|
||||
if (scrollPosition < -75 || openRatio != 0)
|
||||
if (openRatio != 0)
|
||||
$ionicScrollDelegate.$getByHandle('balance').freezeScroll(true);
|
||||
else
|
||||
$ionicScrollDelegate.$getByHandle('balance').freezeScroll(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue