mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 23:09:35 +01:00
Merge branch 'krille/fix-download-web' into 'main'
chore: Fix download on web See merge request famedly/fluffychat!861
This commit is contained in:
commit
06a18b2e4e
@ -32,19 +32,20 @@ class ImageViewerView extends StatelessWidget {
|
|||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
tooltip: L10n.of(context)!.share,
|
tooltip: L10n.of(context)!.share,
|
||||||
),
|
),
|
||||||
if (PlatformInfos.isAndroid)
|
if (!PlatformInfos.isIOS)
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Icon(Icons.download_outlined),
|
icon: const Icon(Icons.download_outlined),
|
||||||
onPressed: controller.saveFileAction,
|
onPressed: controller.saveFileAction,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
tooltip: L10n.of(context)!.downloadFile,
|
tooltip: L10n.of(context)!.downloadFile,
|
||||||
),
|
),
|
||||||
IconButton(
|
if (PlatformInfos.isMobile)
|
||||||
onPressed: controller.shareFileAction,
|
IconButton(
|
||||||
tooltip: L10n.of(context)!.share,
|
onPressed: controller.shareFileAction,
|
||||||
color: Colors.white,
|
tooltip: L10n.of(context)!.share,
|
||||||
icon: const Icon(Icons.share),
|
color: Colors.white,
|
||||||
)
|
icon: const Icon(Icons.share),
|
||||||
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
body: InteractiveViewer(
|
body: InteractiveViewer(
|
||||||
|
Loading…
Reference in New Issue
Block a user