Apply Dev Mode
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user