- minor fixes

This commit is contained in:
2023-02-18 23:41:47 +00:00
parent c1fc8b8e65
commit 61863985c2
3 changed files with 3 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ class MainViewModel extends BaseViewmodel {
}
void setCurrencyRate(String fromCurrency, String toCurrency) {
if (fromCurrency == toCurrency) return;
onStart();
_repository.getConversationRateFromApi(fromCurrency, toCurrency).then(
(value) {