Migrate keyboard from Sam and some fixes

This commit is contained in:
Jean-Baptiste Dominguez 2018-05-08 11:39:32 +09:00
commit 2f73ffd61c
6 changed files with 35 additions and 5 deletions

View file

@ -6,7 +6,9 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
var CONTACTS_SHOW_LIMIT;
var currentContactsPage;
$scope.isChromeApp = platformInfo.isChromeApp;
$scope.sectionDisplay = {
transferToWallet: false
};
var hasWallets = function() {
$scope.wallets = profileService.getWallets({
@ -247,4 +249,12 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
updateList();
});
});
$scope.toggle = function(section) {
$scope.sectionDisplay[section] = !$scope.sectionDisplay[section];
$timeout(function() {
$ionicScrollDelegate.resize();
$scope.$apply();
}, 10);
};
});