Skip to content

Commit

Permalink
FIX: Add the hostel number in the mess widget DevCom-IITB#56
Browse files Browse the repository at this point in the history
  • Loading branch information
Prayas-Agrawal committed Jan 28, 2024
1 parent aeffd79 commit 0b0237d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions lib/src/routes/messpage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,16 @@ class _MessPageState extends State<MessPage> {
?..sort((h1, h2) => h1.compareTo(h2));
return Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children:
currMess?.map(_buildSingleDayMess).toList() ?? [],
children: [
Padding(
padding: const EdgeInsets.only(bottom: 28.0),
child: Text(
"Hostel ${currHostel}",
style: theme.textTheme.headline5,
),
),
...currMess?.map(_buildSingleDayMess).toList() ?? []
],
);
} else {
return Center(
Expand Down

0 comments on commit 0b0237d

Please sign in to comment.