1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 21:09:21 +00:00

Resize conversation images

This commit is contained in:
Pierre HUBERT 2021-03-11 00:25:58 +01:00
parent 0458d5431c
commit 8705aa1b0d

View File

@ -6,8 +6,6 @@ import 'package:comunic/ui/widgets/network_image_widget.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart'; import 'package:url_launcher/url_launcher.dart';
const _AreaSize = 150.0;
class ConversationFileWidget extends StatefulWidget { class ConversationFileWidget extends StatefulWidget {
final int messageID; final int messageID;
final ConversationMessageFile file; final ConversationMessageFile file;
@ -31,8 +29,8 @@ class _ConversationFileWidgetState extends State<ConversationFileWidget> {
@override @override
Widget build(BuildContext context) => Container( Widget build(BuildContext context) => Container(
width: _AreaSize, width: 150,
height: _AreaSize, height: 100,
child: _buildContent(), child: _buildContent(),
); );