separate config for pumpcontrol

This commit is contained in:
Milos Kozak 2019-08-03 23:22:30 +02:00
parent 4831eb9193
commit 4bbb77907f

View file

@ -75,8 +75,10 @@ public class SWDefinition {
}
SWDefinition() {
if (Config.APS || Config.PUMPCONTROL)
if (Config.APS)
SWDefinitionFull();
else if (Config.PUMPCONTROL)
SWDefinitionPumpControl();
else if (Config.NSCLIENT)
SWDefinitionNSClient();
}
@ -456,6 +458,29 @@ public class SWDefinition {
;
}
private void SWDefinitionPumpControl() {
// List all the screens here
add(screenSetupWizard)
.add(screenLanguage)
.add(screenEula)
.add(screenPermissionBattery)
.add(screenPermissionBt)
.add(screenPermissionStore)
.add(screenImport)
.add(screenNsClient)
.add(screenAge)
.add(screenInsulin)
.add(screenBgSource)
.add(screenProfile)
.add(screenNsProfile)
.add(screenLocalProfile)
.add(screenSimpleProfile)
.add(screenProfileSwitch)
.add(screenPump)
.add(screenSensitivity)
;
}
private void SWDefinitionNSClient() {
// List all the screens here
add(screenSetupWizard)