fiat value now default if sending from bch or btc wallet

This commit is contained in:
Kadir Sekha 2018-01-19 10:47:48 +09:00
commit 210baaecf7

View file

@ -114,6 +114,11 @@ angular.module('copayApp.controllers').controller('amountController', function($
if (data.stateParams.fixedUnit) { if (data.stateParams.fixedUnit) {
fixedUnit = true; fixedUnit = true;
} }
if (availableUnits.length == 2) {
unitIndex = 1;
altUnitIndex = 0;
}
}; };
// Go to... // Go to...