send flow
This commit is contained in:
parent
8e031a83ad
commit
f3dd69b510
197 changed files with 205673 additions and 8 deletions
|
|
@ -160,8 +160,11 @@ angular.module('copayApp.controllers').controller('inputAmountController', funct
|
|||
$ionicScrollDelegate.resize();
|
||||
}, 100);
|
||||
} else {
|
||||
self.setAmount(amount, $scope.showAlternativeAmount);
|
||||
$scope.cancel();
|
||||
// self.setAmount(amount, $scope.showAlternativeAmount);
|
||||
// $scope.cancel();
|
||||
$scope.sending = true;
|
||||
$scope.sendingAmount = profileService.formatAmount(amount * unitToSatoshi, true);
|
||||
$scope.sendingAlternativeAmount = $filter('formatFiatAmount')(alternativeAmount);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
24
src/js/controllers/tab-send.js
Normal file
24
src/js/controllers/tab-send.js
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('tabSendController', function($scope, $ionicModal) {
|
||||
|
||||
$scope.openInputAmountModal = function(addr) {
|
||||
$ionicModal.fromTemplateUrl('views/modals/inputAmount.html', {
|
||||
scope: $scope
|
||||
}).then(function(modal) {
|
||||
$scope.inputAmountModal = modal;
|
||||
$scope.inputAmountModal.show();
|
||||
});
|
||||
};
|
||||
|
||||
$scope.options = {
|
||||
loop: false,
|
||||
effect: 'fade',
|
||||
speed: 500,
|
||||
};
|
||||
|
||||
$scope.$on("$ionicSlides.slideChangeEnd", function(event, data) {
|
||||
// note: the indexes are 0-based
|
||||
console.log('CHANGEDD');
|
||||
});
|
||||
});
|
||||
2
src/js/version.js
Normal file
2
src/js/version.js
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
window.version="2.5.0";
|
||||
window.commitHash="a1a05a3";
|
||||
Loading…
Add table
Add a link
Reference in a new issue