flexible bubble
This commit is contained in:
@@ -72,7 +72,7 @@ class _PartScreenState extends State<PartScreen> {
|
||||
context.watch<MessageService>().messages.length;
|
||||
double chatHeight;
|
||||
if (messageCount <= 1) {
|
||||
chatHeight = minHeight;
|
||||
chatHeight = minHeight + 70;
|
||||
} else {
|
||||
final height = minHeight + (messageCount * 78);
|
||||
chatHeight = height < maxHeight ? height : maxHeight;
|
||||
|
||||
Reference in New Issue
Block a user