Skip to content

Commit

Permalink
fix ui issue
Browse files Browse the repository at this point in the history
  • Loading branch information
praslnx8 committed Jan 21, 2024
1 parent d66359d commit da5f83e
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions lib/ui/pages/main_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,19 @@ class _MainPageState extends PageState<MainViewState, MainPage, MainPresenter> {
});
},
),
body: Expanded(
child: Builder(
builder: (context) {
switch (_selectedIndex) {
case 0:
return const InvestmentsPage();
case 1:
return const GoalsPage();
case 2:
return const BasketsPage();
default:
return Container();
}
},
),
body: Builder(
builder: (context) {
switch (_selectedIndex) {
case 0:
return const InvestmentsPage();
case 1:
return const GoalsPage();
case 2:
return const BasketsPage();
default:
return Container();
}
},
));
}

Expand Down

0 comments on commit da5f83e

Please sign in to comment.