BUG: file viewer opening bug

This commit is contained in:
2025-12-17 20:12:51 +02:00
parent eea3248525
commit 010fc0bc74
2 changed files with 1 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ class _MihFloatingMenuState extends State<MihFloatingMenu> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return SpeedDial( return SpeedDial(
key: GlobalKey(),
icon: widget.icon, icon: widget.icon,
buttonSize: Size(widget.iconSize ?? 56.0, widget.iconSize ?? 56.0), buttonSize: Size(widget.iconSize ?? 56.0, widget.iconSize ?? 56.0),
animatedIcon: widget.animatedIcon, animatedIcon: widget.animatedIcon,

View File

@@ -344,7 +344,6 @@ class _BuildFilesListState extends State<BuildFilesList> {
.patientDocuments![index].file_path); .patientDocuments![index].file_path);
fileViewerProvider.setFileLink(urlHere); fileViewerProvider.setFileLink(urlHere);
}); });
viewFilePopUp( viewFilePopUp(
patientManagerProvider, patientManagerProvider,
patientManagerProvider.patientDocuments![index].file_name, patientManagerProvider.patientDocuments![index].file_name,