fix storing effective profile

This commit is contained in:
Milos Kozak 2021-11-04 15:58:57 +01:00
parent ae2558deef
commit ebeac72e74

View file

@ -89,8 +89,7 @@ class CommandQueue @Inject constructor(
override fun run() { override fun run() {
if (!result.success) { if (!result.success) {
ErrorHelperActivity.runAlarm(context, result.comment, rh.gs(R.string.failedupdatebasalprofile), R.raw.boluserror) ErrorHelperActivity.runAlarm(context, result.comment, rh.gs(R.string.failedupdatebasalprofile), R.raw.boluserror)
} } else {
if (result.enacted) {
repository.createEffectiveProfileSwitch( repository.createEffectiveProfileSwitch(
EffectiveProfileSwitch( EffectiveProfileSwitch(
timestamp = dateUtil.now(), timestamp = dateUtil.now(),