Apply Dev Mode

This commit is contained in:
2025-05-07 10:06:59 +02:00
parent 34e3edd54b
commit d95c4ec2fc

View File

@@ -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);