From d95c4ec2fcaceeb09afc3804b5a6c85d358be672 Mon Sep 17 00:00:00 2001 From: Rene Evertz Date: Wed, 7 May 2025 10:06:59 +0200 Subject: [PATCH] Apply Dev Mode --- BeWo/BeWoApp.xaml.cs | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/BeWo/BeWoApp.xaml.cs b/BeWo/BeWoApp.xaml.cs index 33e4e10dd..bd6f815e3 100644 --- a/BeWo/BeWoApp.xaml.cs +++ b/BeWo/BeWoApp.xaml.cs @@ -629,8 +629,8 @@ namespace BeWo //AppSettings.AllowGkvAbrechnung = true; //AppSettings.AllowGkvAbrechnung = false; //showInfoButtonInCalender = true; - //IsInDeveloperMode = true; - IsInDeveloperMode = false; + IsInDeveloperMode = true; + //IsInDeveloperMode = false; AppSettings.ModuleAiEnabled = true; AppSettings.ModuleAiSettingsEnabled = false; #endif @@ -673,6 +673,11 @@ namespace BeWo BS.Shared.Settings.ApplicationSettings.SupportConceptExpirationLimitInMonths = AppSettings.HilfeplanAuslaufAuswahl; + if (IsInDeveloperMode) + { + applyDeveloperMode(); + } + if(MainControl is object) { MainControl.UpdateMandator(); @@ -680,6 +685,11 @@ namespace BeWo } } + private static void applyDeveloperMode() + { + AppSettings.ModuleAiSettingsEnabled = true; + } + private static bool getUserSetting(string key) { var val = UserSettingsUtils.GetSettingValue(_Mandator.Settings, key);