show currency warning on amount screen if plain address used

This commit is contained in:
Kadir Sekha 2018-01-26 12:02:48 -04:00
commit d31a2115b1
4 changed files with 18 additions and 2 deletions

View file

@ -37,6 +37,10 @@ angular.module('copayApp.controllers').controller('amountController', function($
$scope.fromWalletId = data.stateParams.fromWalletId;
}
if (data.stateParams.noPrefix) {
$scope.showWarningMessage = data.stateParams.noPrefix != 0;
}
var config = configService.getSync().wallet.settings;
function setAvailableUnits() {