diff --git a/Frontend/patient_manager/lib/pages/home.dart b/Frontend/patient_manager/lib/pages/home.dart index 2a4860a7..6ba44cb4 100644 --- a/Frontend/patient_manager/lib/pages/home.dart +++ b/Frontend/patient_manager/lib/pages/home.dart @@ -25,19 +25,9 @@ class _HomeState extends State { Future loadImage() async { try { - // load network image example var t = MzanziInnovationHub.of(context)!.theme.logoImage(); await precacheImage(t.image, context); - // setState(() { - //return MzanziInnovationHub.of(context)!.theme.logoImage(); - // }); - - // or - // Load assets image example - // await precacheImage(AssetImage(imagePath), context); - //print('Image loaded and cached successfully!'); } catch (e) { - //return null; print('Failed to load and cache the image: $e'); } }