optimize history browser
This commit is contained in:
parent
29acc3d17f
commit
c8f5f4a116
1 changed files with 5 additions and 2 deletions
|
@ -271,9 +271,12 @@ class HistoryBrowseActivity : NoSplashAppCompatActivity() {
|
||||||
private fun loadAll(from: String) {
|
private fun loadAll(from: String) {
|
||||||
updateDate()
|
updateDate()
|
||||||
Thread {
|
Thread {
|
||||||
overviewData.prepareBasalData(from)
|
overviewData.prepareBgData("$from")
|
||||||
overviewData.prepareTemporaryTargetData(from)
|
|
||||||
overviewData.prepareTreatmentsData(from)
|
overviewData.prepareTreatmentsData(from)
|
||||||
|
rxBus.send(EventRefreshOverview("loadAll_$from"))
|
||||||
|
overviewData.prepareTemporaryTargetData(from)
|
||||||
|
rxBus.send(EventRefreshOverview("loadAll_$from"))
|
||||||
|
overviewData.prepareBasalData(from)
|
||||||
rxBus.send(EventRefreshOverview(from))
|
rxBus.send(EventRefreshOverview(from))
|
||||||
aapsLogger.debug(LTag.UI, "loadAll $from finished")
|
aapsLogger.debug(LTag.UI, "loadAll $from finished")
|
||||||
runCalculation(from)
|
runCalculation(from)
|
||||||
|
|
Loading…
Reference in a new issue