From 0c865019a1722093b6b030bbb42b18203c2c4e8e Mon Sep 17 00:00:00 2001 From: Tristan the Katana <50181095+felixmuinde@users.noreply.github.com> Date: Wed, 13 May 2026 22:11:21 +0300 Subject: [PATCH] fix(mobile): respect system navigation bar inset on chat screen (#1784) The message input container bottom padding now adds MediaQuery.paddingOf(context).bottom so the input row clears the Android system navigation bar in edge-to-edge mode (Android 15+, 3-button nav bar). Value is 0 in non-edge-to-edge mode so existing behaviour is unchanged. --- mobile/lib/screens/chat_conversation_screen.dart | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mobile/lib/screens/chat_conversation_screen.dart b/mobile/lib/screens/chat_conversation_screen.dart index a18aafb5b..e521eb4c6 100644 --- a/mobile/lib/screens/chat_conversation_screen.dart +++ b/mobile/lib/screens/chat_conversation_screen.dart @@ -374,7 +374,12 @@ class _ChatConversationScreenState extends State { // Message input Container( - padding: const EdgeInsets.all(16), + padding: EdgeInsets.fromLTRB( + 16, + 16, + 16, + 16 + MediaQuery.paddingOf(context).bottom, + ), decoration: BoxDecoration( color: colorScheme.surface, boxShadow: [