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))
|
if (canReact && (bubbleData.message != '{file}' || attachedFile != null))
|
||||||
ListTile(
|
ListTile(
|
||||||
leading: const Icon(Icons.forward_outlined),
|
leading: const Icon(Icons.shortcut_outlined),
|
||||||
title: const Text('Weiterleiten'),
|
title: const Text('Weiterleiten'),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.of(sheetCtx).pop();
|
Navigator.of(sheetCtx).pop();
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ class LargeProfilePictureView extends StatelessWidget {
|
|||||||
Widget build(BuildContext context) => Scaffold(
|
Widget build(BuildContext context) => Scaffold(
|
||||||
appBar: AppBar(title: const Text('Profilbild')),
|
appBar: AppBar(title: const Text('Profilbild')),
|
||||||
body: PhotoView(
|
body: PhotoView(
|
||||||
|
minScale: 0.5,
|
||||||
|
maxScale: 3.0,
|
||||||
imageProvider: Image.network(
|
imageProvider: Image.network(
|
||||||
'https://${EndpointData().nextcloud().full()}/avatar/$username/1024',
|
'https://${EndpointData().nextcloud().full()}/avatar/$username/1024',
|
||||||
).image,
|
).image,
|
||||||
|
|||||||
Reference in New Issue
Block a user