fix: silent addresses string

This commit is contained in:
Rafael Saes 2023-11-30 16:01:19 -03:00
parent 79b2fc2a4d
commit 028dcb3b98

View file

@ -183,17 +183,19 @@ class AddressPage extends BasePage {
children: <Widget>[
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(