updated forward icon in message options and added scale limits to profile picture viewer
This commit is contained in:
@@ -105,7 +105,7 @@ void showChatMessageOptionsDialog(
|
||||
),
|
||||
if (canReact && (bubbleData.message != '{file}' || attachedFile != null))
|
||||
ListTile(
|
||||
leading: const Icon(Icons.forward_outlined),
|
||||
leading: const Icon(Icons.shortcut_outlined),
|
||||
title: const Text('Weiterleiten'),
|
||||
onTap: () {
|
||||
Navigator.of(sheetCtx).pop();
|
||||
|
||||
@@ -11,6 +11,8 @@ class LargeProfilePictureView extends StatelessWidget {
|
||||
Widget build(BuildContext context) => Scaffold(
|
||||
appBar: AppBar(title: const Text('Profilbild')),
|
||||
body: PhotoView(
|
||||
minScale: 0.5,
|
||||
maxScale: 3.0,
|
||||
imageProvider: Image.network(
|
||||
'https://${EndpointData().nextcloud().full()}/avatar/$username/1024',
|
||||
).image,
|
||||
|
||||
Reference in New Issue
Block a user