Large screen sidebar

This commit is contained in:
2024-06-02 22:45:54 +08:00
parent eb82f35a34
commit a8edd26ba2
5 changed files with 48 additions and 4 deletions

View File

@ -1,4 +1,5 @@
import 'dart:async';
import 'dart:math' as math;
import 'package:flutter/material.dart';
import 'package:get/get.dart';
@ -210,6 +211,7 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
return InkWell(
child: Container(
child: ChatMessage(
key: Key('m${item.uuid}'),
item: item,
isMerged: isMerged,
).paddingOnly(
@ -327,7 +329,7 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
],
),
Positioned(
bottom: MediaQuery.of(context).padding.bottom,
bottom: math.max(MediaQuery.of(context).padding.bottom, 16),
left: 16,
right: 16,
child: ChatMessageInput(