Skip to content

Commit

Permalink
Message loading fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vyPal committed Sep 14, 2023
1 parent d712bf7 commit 9b298be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/messages.dart
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ class TimeTablePageState extends State<MessagesPage> {
loading = true; //make loading true to show progressindicator
});

apidataMsg = await widget.sessionManager.get('messages');
Map<String, dynamic> msgs = await widget.sessionManager.get('messages');
apidataMsg = msgs.values.toList();
messages = getMessages(apidataMsg);

loading = false;
Expand Down

0 comments on commit 9b298be

Please sign in to comment.