Revert "Sendscreen"

This commit is contained in:
Jean-Baptiste Dominguez 2018-04-27 14:58:10 +09:00 committed by GitHub
commit a69b14c58c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 729 additions and 1038 deletions

View file

@ -240,7 +240,6 @@ angular.module('copayApp.controllers').controller('amountController', function($
};
$scope.changeUnit = function() {
$scope.amountModel.amount = '';
if ($scope.alternativeAmount == 0) {
$scope.alternativeAmount = null;
@ -295,7 +294,6 @@ 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) {
@ -325,7 +323,6 @@ angular.module('copayApp.controllers').controller('amountController', function($
$scope.amountModel.amount = ($scope.amountModel.amount).toString().slice(0, -1);
$scope.processAmount();
checkFontSize();
navigator.vibrate(50);
};
$scope.resetAmount = function() {
@ -467,7 +464,6 @@ angular.module('copayApp.controllers').controller('amountController', function($
$state.transitionTo('tabs.send.confirm', confirmData);
}
$scope.useSendMax = null;
navigator.vibrate(50);
}
if ($scope.showWarningMessage) {

View file

@ -5,9 +5,6 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
var originalList;
var CONTACTS_SHOW_LIMIT;
var currentContactsPage;
$scope.sectionDisplay = {
transferToWallet: false
};
$scope.isChromeApp = platformInfo.isChromeApp;
@ -250,12 +247,4 @@ 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);
};
});