chore: Remove deprecated share button

This commit is contained in:
Krille Fear 2022-12-30 12:52:29 +01:00
parent 04f34a4301
commit 77aca413fb

View File

@ -1,10 +1,8 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:matrix/matrix.dart'; import 'package:matrix/matrix.dart';
import 'package:fluffychat/utils/matrix_sdk_extensions.dart/event_extension.dart'; import 'package:fluffychat/utils/matrix_sdk_extensions.dart/event_extension.dart';
import 'package:fluffychat/utils/platform_infos.dart';
class MessageDownloadContent extends StatelessWidget { class MessageDownloadContent extends StatelessWidget {
final Event event; final Event event;
@ -30,18 +28,24 @@ class MessageDownloadContent extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: <Widget>[ children: <Widget>[
ListTile( Padding(
leading: Icon( padding: const EdgeInsets.all(16.0),
Icons.file_download_outlined, child: Row(
color: textColor, children: [
), Icon(
title: Text( Icons.file_download_outlined,
filename, color: textColor,
maxLines: 1, ),
style: TextStyle( const SizedBox(width: 16),
color: textColor, Text(
fontWeight: FontWeight.bold, filename,
), maxLines: 1,
style: TextStyle(
color: textColor,
fontWeight: FontWeight.bold,
),
),
],
), ),
), ),
const Divider(height: 1), const Divider(height: 1),