mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-09 12:29:31 +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>[
|
children: <Widget>[
|
||||||
Observer(
|
Observer(
|
||||||
builder: (_) {
|
builder: (_) {
|
||||||
String label = addressListViewModel.hasSilentAddresses
|
String label = addressListViewModel.hasAccounts
|
||||||
? S.of(context).labeled_silent_addresses
|
? S.of(context).accounts_subaddresses
|
||||||
: addressListViewModel.hasAccounts
|
: S.of(context).addresses;
|
||||||
? S.of(context).accounts_subaddresses
|
|
||||||
: S.of(context).addresses;
|
|
||||||
|
|
||||||
if (dashboardViewModel.isAutoGenerateSubaddressesEnabled) {
|
if (dashboardViewModel.isAutoGenerateSubaddressesEnabled) {
|
||||||
label = addressListViewModel.hasAccounts
|
label = addressListViewModel.hasAccounts
|
||||||
? S.of(context).accounts
|
? S.of(context).accounts
|
||||||
: S.of(context).account;
|
: S.of(context).account;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (addressListViewModel.hasSilentAddresses) {
|
||||||
|
label = S.of(context).labeled_silent_addresses;
|
||||||
|
}
|
||||||
return Text(
|
return Text(
|
||||||
label,
|
label,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
|
|
Loading…
Reference in a new issue