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,9 +183,7 @@ class AddressPage extends BasePage {
children: <Widget>[
Observer(
builder: (_) {
String label = addressListViewModel.hasSilentAddresses
? S.of(context).labeled_silent_addresses
: addressListViewModel.hasAccounts
String label = addressListViewModel.hasAccounts
? S.of(context).accounts_subaddresses
: S.of(context).addresses;
@ -194,6 +192,10 @@ class AddressPage extends BasePage {
? S.of(context).accounts
: S.of(context).account;
}
if (addressListViewModel.hasSilentAddresses) {
label = S.of(context).labeled_silent_addresses;
}
return Text(
label,
style: TextStyle(