From c838b3ff2723e0b94d715d0be5fcebea428c299a Mon Sep 17 00:00:00 2001 From: yaso-meth Date: Wed, 28 Aug 2024 13:42:57 +0200 Subject: [PATCH] add altlogo image to theme --- Frontend/patient_manager/lib/theme/mihTheme.dart | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Frontend/patient_manager/lib/theme/mihTheme.dart b/Frontend/patient_manager/lib/theme/mihTheme.dart index fa5ed69f..1e934a06 100644 --- a/Frontend/patient_manager/lib/theme/mihTheme.dart +++ b/Frontend/patient_manager/lib/theme/mihTheme.dart @@ -115,6 +115,18 @@ class MyTheme { } } + AssetImage altLogoImage() { + if (mode == "Light") { + return const AssetImage( + 'images/logo_dark.png', + ); + } else { + return const AssetImage( + 'images/logo_light.png', + ); + } + } + AssetImage loadingImage() { if (mode == "Dark") { loading = const AssetImage(