mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-02 12:14:09 +01:00
- Make getters to ease attribute access
- Add the old 'disable_fiat' translation - rename getters to be more bool like names
This commit is contained in:
@@ -18,7 +18,7 @@ abstract class PrivacySettingsViewModelBase with Store {
|
||||
bool get shouldSaveRecipientAddress => _settingsStore.shouldSaveRecipientAddress;
|
||||
|
||||
@computed
|
||||
bool get fiatApiMode => _settingsStore.fiatApiMode == FiatApiMode.disabled;
|
||||
bool get isFiatDisabled => _settingsStore.fiatApiMode == FiatApiMode.disabled;
|
||||
|
||||
@action
|
||||
void setShouldSaveRecipientAddress(bool value) => _settingsStore.shouldSaveRecipientAddress = value;
|
||||
|
||||
Reference in New Issue
Block a user