Skip to content

Commit

Permalink
fix(deriv_numpad): fix secondary currency type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sagar-deriv committed Jan 8, 2024
1 parent 0e24f5f commit 6821bd2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ class ExchangeController extends ChangeNotifier {
_rateSource.listen((ExchangeRateModel rate) {
_exchangeRate = rate;
_secondaryCurrency = CurrencyDetail(
_getExchangedOutput(_primaryCurrency.amount),
rate.targetCurrency,
);
_getExchangedOutput(_primaryCurrency.amount),
secondaryCurrency.currencyType);
notifyListeners();
});
}
Expand Down

0 comments on commit 6821bd2

Please sign in to comment.