Ref custom amount. Also fixes small screen issue

This commit is contained in:
Gustavo Maximiliano Cortez 2017-05-11 15:43:35 -03:00
commit 1c91420581
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
6 changed files with 170 additions and 71 deletions

View file

@ -656,8 +656,17 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
*
*/
.state('tabs.receive.amount', {
url: '/amount/:walletId/:customAmount/:toAddress',
.state('tabs.paymentRequest', {
url: '/payment-request',
abstract: true,
params: {
id: null,
nextStep: 'tabs.paymentRequest.confirm'
}
})
.state('tabs.paymentRequest.amount', {
url: '/amount',
views: {
'tab-receive@tabs': {
controller: 'amountController',
@ -665,8 +674,8 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
}
}
})
.state('tabs.receive.customAmount', {
url: '/customAmount/:walletId/:toAmount/:toAddress',
.state('tabs.paymentRequest.confirm', {
url: '/confirm/:amount/:currency',
views: {
'tab-receive@tabs': {
controller: 'customAmountController',