mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 12:59:21 +00:00
Resize conversation images
This commit is contained in:
parent
0458d5431c
commit
8705aa1b0d
@ -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(),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user