mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
fix contact list bug
This commit is contained in:
parent
1a089eaa60
commit
05f1b17a73
2 changed files with 5 additions and 3 deletions
|
@ -300,7 +300,7 @@ Route<dynamic> createRoute(RouteSettings settings) {
|
|||
case Routes.addressBook:
|
||||
return MaterialPageRoute<void>(
|
||||
builder: (_) =>
|
||||
getIt.get<ContactListPage>(param1: true, param2: null));
|
||||
getIt.get<ContactListPage>(param1: true));
|
||||
|
||||
case Routes.pickerAddressBook:
|
||||
final selectedCurrency = settings.arguments as CryptoCurrency;
|
||||
|
|
|
@ -68,7 +68,9 @@ class ContactListPage extends BasePage {
|
|||
contactListViewModel.getWallets(isEditable, selectedCurrency);
|
||||
return Container(
|
||||
padding: EdgeInsets.only(top: 20.0, bottom: 20.0),
|
||||
child: CollapsibleSectionList(
|
||||
child: Observer(
|
||||
builder: (_) {
|
||||
return CollapsibleSectionList(
|
||||
context: context,
|
||||
sectionCount: 2,
|
||||
themeColor: Theme.of(context).primaryTextTheme.headline6!.color!,
|
||||
|
@ -104,7 +106,7 @@ class ContactListPage extends BasePage {
|
|||
child: content,
|
||||
);
|
||||
},
|
||||
)
|
||||
);})
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue