BUG: file viewer opening bug
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user