This commit is contained in:
M
2020-08-29 13:19:27 +03:00
parent 6aaac93fa8
commit 24d139e540
11 changed files with 114 additions and 31 deletions
@@ -86,7 +86,7 @@ abstract class DashboardViewModelBase with Store {
statusText = S.current.Blocks_remaining(status.toString());
}
if (status is FailedSyncStatus) {
if (status is FailedSyncStatus || status is LostConnectionSyncStatus) {
statusText = S.current.please_try_to_connect_to_another_node;
}
+5
View File
@@ -116,6 +116,11 @@ abstract class SendViewModelBase with Store {
@action
void setCryptoAmount(String amount) {
// FIXME: hardcoded value.
if (amount.toUpperCase() != 'ALL') {
all = false;
}
cryptoAmount = amount;
_updateFiatAmount();
}