comboctl-main: Directly push MENU button to switch to TBR duration screen
There's no reason to use the full navigation function to switch from the TBR percentage to the TBR duration screen, since these are next to each other, and switching over is done by pressing MENU once. Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
This commit is contained in:
parent
4201fe08a5
commit
9aff10537e
|
@ -3064,7 +3064,9 @@ class Pump(
|
||||||
|
|
||||||
setTbrProgressReporter.setCurrentProgressStage(RTCommandProgressStage.SettingTBRDuration(0))
|
setTbrProgressReporter.setCurrentProgressStage(RTCommandProgressStage.SettingTBRDuration(0))
|
||||||
|
|
||||||
navigateToRTScreen(rtNavigationContext, ParsedScreen.TemporaryBasalRateDurationScreen::class, pumpSuspended)
|
// Now move to the duration screen by pressing MENU.
|
||||||
|
rtNavigationContext.shortPressButton(RTNavigationButton.MENU)
|
||||||
|
waitUntilScreenAppears(rtNavigationContext, ParsedScreen.TemporaryBasalRateDurationScreen::class)
|
||||||
|
|
||||||
adjustQuantityOnScreen(
|
adjustQuantityOnScreen(
|
||||||
rtNavigationContext,
|
rtNavigationContext,
|
||||||
|
|
Loading…
Reference in a new issue