mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-02 12:14:09 +01:00
Add custom background (#2442)
* Add ability to put a custom background to the home page * add translation [skip ci]
This commit is contained in:
@@ -44,6 +44,9 @@ abstract class DisplaySettingsViewModelBase with Store {
|
||||
@computed
|
||||
bool get showAddressBookPopup => _settingsStore.showAddressBookPopupEnabled;
|
||||
|
||||
@computed
|
||||
String get backgroundImage => _settingsStore.backgroundImage;
|
||||
|
||||
@action
|
||||
void setBalanceDisplayMode(BalanceDisplayMode value) => _settingsStore.balanceDisplayMode = value;
|
||||
|
||||
@@ -87,4 +90,7 @@ abstract class DisplaySettingsViewModelBase with Store {
|
||||
|
||||
@action
|
||||
void setShowAddressBookPopup(bool value) => _settingsStore.showAddressBookPopupEnabled = value;
|
||||
|
||||
@action
|
||||
void setBackgroundImage(String path) => _settingsStore.backgroundImage = path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user