From fb0479e5f23bf83b4a4e8c969a928e230e92a279 Mon Sep 17 00:00:00 2001 From: Catfriend1 Date: Thu, 23 Aug 2018 08:05:31 +0200 Subject: [PATCH] Reorder welcome wizard slides (#24) --- .../syncthingandroid/activities/FirstStartActivity.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/nutomic/syncthingandroid/activities/FirstStartActivity.java b/app/src/main/java/com/nutomic/syncthingandroid/activities/FirstStartActivity.java index 92f1e169..68343d80 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/activities/FirstStartActivity.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/activities/FirstStartActivity.java @@ -144,14 +144,14 @@ public class FirstStartActivity extends Activity { (showSlideKeyGeneration ? 1 : 0) ]; mSlides[slideIndex++] = new Slide(R.layout.activity_firststart_intro, colorsActive[0], colorsInactive[0]); - if (showSlideIgnoreDozePermission) { - mSlidePosIgnoreDozePermission = slideIndex; - mSlides[slideIndex++] = new Slide(R.layout.activity_firststart_ignore_doze_permission, colorsActive[4], colorsInactive[4]); - } if (showSlideStoragePermission) { mSlidePosStoragePermission = slideIndex; mSlides[slideIndex++] = new Slide(R.layout.activity_firststart_storage_permission, colorsActive[1], colorsInactive[1]); } + if (showSlideIgnoreDozePermission) { + mSlidePosIgnoreDozePermission = slideIndex; + mSlides[slideIndex++] = new Slide(R.layout.activity_firststart_ignore_doze_permission, colorsActive[4], colorsInactive[4]); + } if (showSlideLocationPermission) { mSlides[slideIndex++] = new Slide(R.layout.activity_firststart_location_permission, colorsActive[2], colorsInactive[2]); }