mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-02 12:14:09 +01:00
TMP 2
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user