SW fix return to 1st page
This commit is contained in:
parent
fa2c0ab003
commit
a7cfcd56e3
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ public class SetupWizardActivity extends AppCompatActivity {
|
||||||
|
|
||||||
private int previousPage() {
|
private int previousPage() {
|
||||||
int page = currentWizardPage - 1;
|
int page = currentWizardPage - 1;
|
||||||
while (page > 0) {
|
while (page >= 0) {
|
||||||
if (screens.get(page).visibility == null || screens.get(page).visibility.isValid())
|
if (screens.get(page).visibility == null || screens.get(page).visibility.isValid())
|
||||||
return page;
|
return page;
|
||||||
page--;
|
page--;
|
||||||
|
|
Loading…
Reference in a new issue