navigation cleanup

This commit is contained in:
Christien Rioux 2024-04-05 22:03:04 -04:00
parent 5da68b2d94
commit b3e9cbd4f3
32 changed files with 475 additions and 314 deletions

View file

@ -41,11 +41,11 @@ class AccountPageState extends State<AccountPage> {
final cilState = context.watch<ContactInvitationListCubit>().state;
final cilBusy = cilState.busy;
final contactInvitationRecordList =
cilState.state.data?.value ?? const IListConst([]);
cilState.state.asData?.value ?? const IListConst([]);
final ciState = context.watch<ContactListCubit>().state;
final ciBusy = ciState.busy;
final contactList = ciState.state.data?.value ?? const IListConst([]);
final contactList = ciState.state.asData?.value ?? const IListConst([]);
return SizedBox(
child: Column(children: <Widget>[

View file

@ -121,7 +121,7 @@ class MainPagerState extends State<MainPager> with TickerProviderStateMixin {
'Scan Contact Invite',
style: TextStyle(fontSize: 24),
),
content: ScanInviteDialog(
content: ScanInvitationDialog(
modalContext: context,
));
});