✨ Chat context menu (w.i.p)
This commit is contained in:
@ -248,7 +248,7 @@ class _PostContentHeader extends StatelessWidget {
|
||||
children: [
|
||||
const Icon(Symbols.reply),
|
||||
const Gap(16),
|
||||
Text('reply').tr(),
|
||||
Text('replyPost').tr(),
|
||||
],
|
||||
),
|
||||
onTap: () {
|
||||
|
@ -76,11 +76,15 @@ class PostMediaPendingListRaw extends StatelessWidget {
|
||||
final media = attachments[idx];
|
||||
final result = (!kIsWeb && (Platform.isIOS || Platform.isMacOS))
|
||||
? await showCupertinoImageCropper(
|
||||
// ignore: use_build_context_synchronously
|
||||
context,
|
||||
// ignore: use_build_context_synchronously
|
||||
imageProvider: media.getImageProvider(context)!,
|
||||
)
|
||||
: await showMaterialImageCropper(
|
||||
// ignore: use_build_context_synchronously
|
||||
context,
|
||||
// ignore: use_build_context_synchronously
|
||||
imageProvider: media.getImageProvider(context)!,
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user