mirror of
https://github.com/hmalik144/easy_cc_flutter.git
synced 2025-12-10 03:05:34 +00:00
- Replaced API
- Updated available currencies - Updated unit tests - Fix for failure handling - Android release signing
This commit is contained in:
@@ -40,8 +40,8 @@ class MainViewModel extends BaseViewmodel {
|
||||
(value) {
|
||||
conversionRate = value.rate != null ? value.rate! : 0.00;
|
||||
onSuccess(value);
|
||||
}, onError: (exception, _) {
|
||||
onError(exception.message);
|
||||
}).catchError((e) {
|
||||
onError(e.message);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user