From 4419a3f8667e2bbf09476a067c1de20f6af2cadf Mon Sep 17 00:00:00 2001 From: yaso Date: Wed, 2 Oct 2024 14:59:54 +0200 Subject: [PATCH] . --- .../patient_profile/full_screen_file.dart | 55 ++++++++++--------- 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/Frontend/patient_manager/lib/mih_packages/patient_profile/full_screen_file.dart b/Frontend/patient_manager/lib/mih_packages/patient_profile/full_screen_file.dart index ae99f595..e2e7d225 100644 --- a/Frontend/patient_manager/lib/mih_packages/patient_profile/full_screen_file.dart +++ b/Frontend/patient_manager/lib/mih_packages/patient_profile/full_screen_file.dart @@ -260,33 +260,34 @@ class _FullScreenFileViewerState extends State { } return MIHBody( borderOn: false, - bodyItems: [ - Stack( - children: [ - Expanded(child: fileViewer), - Positioned( - bottom: 5, - right: 5, - width: 50, - height: 50, - child: IconButton.filled( - iconSize: 35, - padding: const EdgeInsets.all(0), - onPressed: () { - html.window.open( - widget.arguments.link, - // '${AppEnviroment.baseFileUrl}/mih/$filePath', - 'download'); - }, - icon: Icon( - Icons.download, - color: MzanziInnovationHub.of(context)!.theme.primaryColor(), - ), - ), - ), - ], - ), - ], + bodyItems: [fileViewer], + // [ + // Stack( + // children: [ + // Expanded(child: fileViewer), + // Positioned( + // bottom: 5, + // right: 5, + // width: 50, + // height: 50, + // child: IconButton.filled( + // iconSize: 35, + // padding: const EdgeInsets.all(0), + // onPressed: () { + // html.window.open( + // widget.arguments.link, + // // '${AppEnviroment.baseFileUrl}/mih/$filePath', + // 'download'); + // }, + // icon: Icon( + // Icons.download, + // color: MzanziInnovationHub.of(context)!.theme.primaryColor(), + // ), + // ), + // ), + // ], + // ), + // ], ); }