fix storing effective profile
This commit is contained in:
parent
ae2558deef
commit
ebeac72e74
1 changed files with 1 additions and 2 deletions
|
@ -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(),
|
||||||
|
|
Loading…
Reference in a new issue