fix wrong scheduler
This commit is contained in:
parent
c8f5f4a116
commit
13330aef1e
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class OverviewPlugin @Inject constructor(
|
|||
}, fabricPrivacy::logException)
|
||||
disposable += rxBus
|
||||
.toObservable(EventIobCalculationProgress::class.java)
|
||||
.observeOn(aapsSchedulers.main)
|
||||
.observeOn(aapsSchedulers.io)
|
||||
.subscribe({ overviewData.calcProgress = it.progress; overviewBus.send(EventUpdateOverview("EventIobCalculationProgress", OverviewData.Property.CALC_PROGRESS)) }, fabricPrivacy::logException)
|
||||
disposable += rxBus
|
||||
.toObservable(EventTempBasalChange::class.java)
|
||||
|
|
Loading…
Reference in a new issue