fix for screens adding up

This commit is contained in:
Roumen Georgiev 2018-05-09 15:55:02 +03:00
parent bfd61a65a0
commit 50f8bf2d18

View file

@ -46,9 +46,10 @@ public class SWDefinition {
SWDefinition() {
// List all the screens here
// Don't allow for screens to add up
if(screens.size() >0)
return;
screens = new ArrayList<>();
// List all the screens here
add(new SWScreen(R.string.nav_setupwizard)
.add(new SWInfotext()
.label(R.string.welcometosetupwizard) )