Migrate keyboard from Sam and some fixes
This commit is contained in:
parent
f4c0cc2bad
commit
2f73ffd61c
6 changed files with 35 additions and 5 deletions
|
|
@ -307,6 +307,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
$scope.amountModel.amount = ($scope.amountModel.amount + digit).replace('..', '.');
|
||||
checkFontSize();
|
||||
$scope.processAmount();
|
||||
navigator.vibrate(50);
|
||||
};
|
||||
|
||||
$scope.pushOperator = function(operator) {
|
||||
|
|
@ -342,6 +343,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
$scope.amountModel.amount = $scope.alternativeAmount = $scope.globalResult = '';
|
||||
$scope.allowSend = false;
|
||||
checkFontSize();
|
||||
navigator.vibrate(50);
|
||||
};
|
||||
|
||||
$scope.processAmount = function() {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue