comboctl-main: Allow fetching TDDs while the pump is suspended
There is no good reason for disallowing TDD retrieval while the Combo is suspended - the TDD history screens are accessible, and TDD retrieval does not cause any insulin delivery to take place. Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
This commit is contained in:
parent
6435b36f7e
commit
d280a2bec5
1 changed files with 1 additions and 0 deletions
|
@ -1877,6 +1877,7 @@ class Pump(
|
||||||
suspend fun fetchTDDHistory() = executeCommand<List<TDDHistoryEntry>>(
|
suspend fun fetchTDDHistory() = executeCommand<List<TDDHistoryEntry>>(
|
||||||
pumpMode = PumpIO.Mode.REMOTE_TERMINAL,
|
pumpMode = PumpIO.Mode.REMOTE_TERMINAL,
|
||||||
isIdempotent = true,
|
isIdempotent = true,
|
||||||
|
allowExecutionWhileSuspended = true,
|
||||||
description = FetchingTDDHistoryCommandDesc()
|
description = FetchingTDDHistoryCommandDesc()
|
||||||
) {
|
) {
|
||||||
tddHistoryProgressReporter.reset(Unit)
|
tddHistoryProgressReporter.reset(Unit)
|
||||||
|
|
Loading…
Reference in a new issue