feat: marcar legenda com markdown, barra de ações nos posts do canal e limites de mensagem na modal
This commit is contained in:
@@ -10,6 +10,7 @@ import 'package:image_picker/image_picker.dart';
|
||||
import 'package:linkify/linkify.dart';
|
||||
import 'package:material_ui/material_ui.dart';
|
||||
import 'package:matrix/matrix.dart';
|
||||
import 'package:tatchat/config/themes.dart';
|
||||
import 'package:tatchat/l10n/l10n.dart';
|
||||
import 'package:tatchat/pages/chat/send_file_dialog.dart';
|
||||
import 'package:tatchat/pages/chat/sticker_picker_dialog.dart';
|
||||
@@ -259,17 +260,22 @@ class _MuralChatViewState extends State<MuralChatView> {
|
||||
useSafeArea: true,
|
||||
isScrollControlled: true,
|
||||
backgroundColor: theme.colorScheme.surface,
|
||||
builder: (context) => ConstrainedBox(
|
||||
constraints: BoxConstraints(
|
||||
maxHeight:
|
||||
MediaQuery.viewInsetsOf(context).bottom +
|
||||
(MediaQuery.sizeOf(context).height * 0.92),
|
||||
builder: (context) => AnimatedPadding(
|
||||
duration: FluffyThemes.animationDuration,
|
||||
curve: FluffyThemes.animationCurve,
|
||||
padding: EdgeInsets.only(
|
||||
bottom: MediaQuery.viewInsetsOf(context).bottom,
|
||||
),
|
||||
child: _PostViewer(
|
||||
key: Key('post_viewer_${event.eventId}'),
|
||||
event: event,
|
||||
room: room,
|
||||
timeline: timeline,
|
||||
child: ConstrainedBox(
|
||||
constraints: BoxConstraints(
|
||||
maxHeight: MediaQuery.sizeOf(context).height * 0.92,
|
||||
),
|
||||
child: _PostViewer(
|
||||
key: Key('post_viewer_${event.eventId}'),
|
||||
event: event,
|
||||
room: room,
|
||||
timeline: timeline,
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user