From 8705aa1b0d9945cf63edaa581141ca62ec0516a7 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Thu, 11 Mar 2021 00:25:58 +0100 Subject: [PATCH] Resize conversation images --- lib/ui/widgets/conversation_file_tile.dart | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/ui/widgets/conversation_file_tile.dart b/lib/ui/widgets/conversation_file_tile.dart index 7a17764..6b5a0a0 100644 --- a/lib/ui/widgets/conversation_file_tile.dart +++ b/lib/ui/widgets/conversation_file_tile.dart @@ -6,8 +6,6 @@ import 'package:comunic/ui/widgets/network_image_widget.dart'; import 'package:flutter/material.dart'; import 'package:url_launcher/url_launcher.dart'; -const _AreaSize = 150.0; - class ConversationFileWidget extends StatefulWidget { final int messageID; final ConversationMessageFile file; @@ -31,8 +29,8 @@ class _ConversationFileWidgetState extends State { @override Widget build(BuildContext context) => Container( - width: _AreaSize, - height: _AreaSize, + width: 150, + height: 100, child: _buildContent(), );