mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
fix: silent addresses string
This commit is contained in:
parent
79b2fc2a4d
commit
028dcb3b98
1 changed files with 7 additions and 5 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue