mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-18 05:51:34 +02:00
fix contact list bug
This commit is contained in:
+1
-1
@@ -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,
|
||||
);
|
||||
},
|
||||
)
|
||||
);})
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user