From 028dcb3b98a85a218dcedc0bd3bb3eb3ad842ebe Mon Sep 17 00:00:00 2001 From: Rafael Saes Date: Thu, 30 Nov 2023 16:01:19 -0300 Subject: [PATCH] fix: silent addresses string --- lib/src/screens/dashboard/pages/address_page.dart | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/src/screens/dashboard/pages/address_page.dart b/lib/src/screens/dashboard/pages/address_page.dart index f548a38c4..8dfd277dc 100644 --- a/lib/src/screens/dashboard/pages/address_page.dart +++ b/lib/src/screens/dashboard/pages/address_page.dart @@ -183,17 +183,19 @@ class AddressPage extends BasePage { children: [ Observer( builder: (_) { - String label = addressListViewModel.hasSilentAddresses - ? S.of(context).labeled_silent_addresses - : addressListViewModel.hasAccounts - ? S.of(context).accounts_subaddresses - : S.of(context).addresses; + String label = addressListViewModel.hasAccounts + ? S.of(context).accounts_subaddresses + : S.of(context).addresses; if (dashboardViewModel.isAutoGenerateSubaddressesEnabled) { label = addressListViewModel.hasAccounts ? S.of(context).accounts : S.of(context).account; } + + if (addressListViewModel.hasSilentAddresses) { + label = S.of(context).labeled_silent_addresses; + } return Text( label, style: TextStyle(