This commit is contained in:
2025-11-25 12:51:29 +05:30
parent 18db360a45
commit 3358ec7669
6 changed files with 292 additions and 105 deletions

View File

@@ -319,11 +319,9 @@ class _NavigationScaffoldState extends State<NavigationScaffold> {
builder: (context, state) {
if (state is Authenticated) {
if (state.users.isNotEmpty) {
final user = state.users.first;
return AccountStatementScreen(
accountNo: user.accountNo ?? '',
balance: user.availableBalance ?? '0.00',
accountType: user.accountType ?? '',
users: state.users,
selectedIndex: 0,
);
} else {
return const Center(child: Text("No accounts found."));