22a144416b
To support extended and multiwave boluses in the future, it is necessary to properly parse the main screen when it shows extended/multiwave content. This requires some rework. Most notably, the code needs to be changed to no longer throw ExtendedOrMultiwaveBolusActiveException. One problem with extended/multiwave content on the main screen is that it does not show TBR details (percentage & remaining duration). For this reason, it is necessary to actually navigate to the TBR percentage screen and read those value there. This means that the setTbr() call is slower when an extended/multiwave bolus is ongoing, but better to be slower than to omit post-setTbr checks that may catch rare errors. Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> |
||
---|---|---|
.. | ||
src | ||
build.gradle |