UI #1
This commit is contained in:
@@ -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."));
|
||||
|
||||
Reference in New Issue
Block a user