SW fix return to 1st page

This commit is contained in:
Milos Kozak 2018-05-23 13:20:24 +02:00
parent fa2c0ab003
commit a7cfcd56e3

View file

@ -186,7 +186,7 @@ public class SetupWizardActivity extends AppCompatActivity {
private int previousPage() {
int page = currentWizardPage - 1;
while (page > 0) {
while (page >= 0) {
if (screens.get(page).visibility == null || screens.get(page).visibility.isValid())
return page;
page--;