MH: Neue Appsettings Fix
This commit is contained in:
@@ -271,7 +271,7 @@ namespace BeWo.ViewModel
|
||||
{
|
||||
BeWoApp.AppSettings.EnableArbeitszeiterfassung = value;
|
||||
|
||||
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "EnableArbeitszeiterfassung", value.ToString());
|
||||
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "EnableArbeitszeiterfassung", value ? "1" : "0");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -285,7 +285,7 @@ namespace BeWo.ViewModel
|
||||
{
|
||||
BeWoApp.AppSettings.EnableAutomaticPauses = value;
|
||||
|
||||
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "EnableAutomaticPauses", value.ToString());
|
||||
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "EnableAutomaticPauses", value ? "1" : "0");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -299,7 +299,7 @@ namespace BeWo.ViewModel
|
||||
{
|
||||
BeWoApp.AppSettings.EnableRestTimeWarning = value;
|
||||
|
||||
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "EnableRestTimeWarning", value.ToString());
|
||||
this.Settings = UserSettingsUtils.CreateNewSettingValue(this._Settings, "EnableRestTimeWarning", value ? "1" : "0");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user