Pretty JSON and extended Webuntis Error Handling

This commit is contained in:
MineTec committed 2023-02-22 16:31:26 +01:00
1 parent 7cbae807e4
commit 4274393cd2
5 files changed
+47 -14

No files matched your search

+1
View File
@@ -90,6 +90,7 @@ class _AppState extends State<App> {
const Icon(Icons.chat),
Consumer<ChatListProps>(
builder: (context, value, child) {
if(value.primaryLoading()) return const SizedBox.shrink();
int messages = value.getRoomsResponse.data.map((e) => e.unreadMessages).reduce((a, b) => a+b);
return Visibility(
visible: messages > 0,