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,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(
|
||||
|
|
Loading…
Reference in a new issue