Chat: no pop-ups while the chat panel is open (the sound still plays)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
foxyzandClaude Opus 5.5 committed 2026-10-18 01:29:58 +03:00
1 parent e91539d113
commit 7715dc479a
4 files changed
+22 -3

No files matched your search

@@ -287,6 +287,7 @@ class AppShellState extends State<AppShell> with SingleTickerProviderStateMixin
if (_fullscreen) _toggleFullscreen();
setState(() {
_chatOpen = false;
_graph.notifier.chatOpen = false;
_unread = 0;
});
_show(PlayerMode.none);
@@ -362,6 +363,7 @@ class AppShellState extends State<AppShell> with SingleTickerProviderStateMixin
void _toggleChat() => setState(() {
_chatOpen = !_chatOpen;
_graph.notifier.chatOpen = _chatOpen;
_unread = 0;
if (!_chatOpen) _chatFocus.unfocus();
});