From 16893f9606d43171992199cf2529f3774a226b84 Mon Sep 17 00:00:00 2001
From: Matthias Nott <mnott@mnsoft.org>
Date: Sun, 22 Mar 2026 18:57:15 +0100
Subject: [PATCH] fix: MQTT port matches config, keyboard dismiss on drawer, debug logging

---
 lib/screens/chat_screen.dart |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/lib/screens/chat_screen.dart b/lib/screens/chat_screen.dart
index b933ba2..dddafb2 100644
--- a/lib/screens/chat_screen.dart
+++ b/lib/screens/chat_screen.dart
@@ -879,7 +879,10 @@
       appBar: AppBar(
         leading: IconButton(
           icon: const Icon(Icons.menu),
-          onPressed: () => _scaffoldKey.currentState?.openDrawer(),
+          onPressed: () {
+            FocusScope.of(context).unfocus();
+            _scaffoldKey.currentState?.openDrawer();
+          },
         ),
         title: Text(
           activeSession?.name ?? 'PAILot',

--
Gitblit v1.3.1