From ed1767ae93ef0c209b2b6d030bd8e595a7768c0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Sun, 8 Jun 2025 13:40:14 +0200 Subject: [PATCH] chore: Add missing mounted check --- lib/pages/chat/chat.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pages/chat/chat.dart b/lib/pages/chat/chat.dart index 41afabb94..e82620509 100644 --- a/lib/pages/chat/chat.dart +++ b/lib/pages/chat/chat.dart @@ -445,6 +445,7 @@ class ChatController extends State @override void didChangeAppLifecycleState(AppLifecycleState state) { if (state != AppLifecycleState.resumed) return; + if (!mounted) return; setReadMarker(); }