mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-19 05:58:50 +02:00
[CW-233] Fix missing display balance setting
This commit is contained in:
@@ -60,7 +60,7 @@ class DashboardPage extends BasePage {
|
||||
Widget middle(BuildContext context) {
|
||||
return SyncIndicator(dashboardViewModel: walletViewModel,
|
||||
onTap: () => Navigator.of(context, rootNavigator: true)
|
||||
.pushNamed(Routes.nodeList));
|
||||
.pushNamed(Routes.connectionSync));
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
@@ -29,11 +29,11 @@ class DisplaySettingsPage extends BasePage {
|
||||
child: Column(
|
||||
children: [
|
||||
SettingsSwitcherCell(
|
||||
title: S.current.settings_save_recipient_address,
|
||||
value: settingsViewModel.shouldSaveRecipientAddress,
|
||||
onValueChange: (BuildContext _, bool value) {
|
||||
settingsViewModel.setShouldSaveRecipientAddress(value);
|
||||
}),
|
||||
title: S.current.settings_display_balance,
|
||||
value: settingsViewModel.shouldDisplayBalance,
|
||||
onValueChange: (_, bool value) {
|
||||
settingsViewModel.setShouldDisplayBalance(value);
|
||||
}),
|
||||
if (!isHaven)
|
||||
SettingsPickerCell<FiatCurrency>(
|
||||
title: S.current.settings_currency,
|
||||
|
||||
@@ -24,7 +24,7 @@ class OtherSettingsPage extends BasePage {
|
||||
return Container(
|
||||
padding: EdgeInsets.only(top: 10),
|
||||
child: Column(children: [
|
||||
SettingsPickerCell<TransactionPriority>(
|
||||
SettingsPickerCell(
|
||||
title: S.current.settings_fee_priority,
|
||||
items: priorityForWalletType(_settingsViewModel.walletType),
|
||||
displayItem: _settingsViewModel.getDisplayPriority,
|
||||
|
||||
Reference in New Issue
Block a user