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.
This commit is contained in:
Tristan the Katana
2026-05-13 22:11:21 +03:00
committed by GitHub
parent e59235fdc5
commit 0c865019a1

View File

@@ -374,7 +374,12 @@ class _ChatConversationScreenState extends State<ChatConversationScreen> {
// 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: [