mirror of
https://github.com/syncthing/syncthing-android.git
synced 2025-01-10 03:55:53 +00:00
Reorder welcome wizard slides (#24)
This commit is contained in:
parent
ce9ea0b1d1
commit
fb0479e5f2
1 changed files with 4 additions and 4 deletions
|
@ -144,14 +144,14 @@ public class FirstStartActivity extends Activity {
|
||||||
(showSlideKeyGeneration ? 1 : 0)
|
(showSlideKeyGeneration ? 1 : 0)
|
||||||
];
|
];
|
||||||
mSlides[slideIndex++] = new Slide(R.layout.activity_firststart_intro, colorsActive[0], colorsInactive[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) {
|
if (showSlideStoragePermission) {
|
||||||
mSlidePosStoragePermission = slideIndex;
|
mSlidePosStoragePermission = slideIndex;
|
||||||
mSlides[slideIndex++] = new Slide(R.layout.activity_firststart_storage_permission, colorsActive[1], colorsInactive[1]);
|
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) {
|
if (showSlideLocationPermission) {
|
||||||
mSlides[slideIndex++] = new Slide(R.layout.activity_firststart_location_permission, colorsActive[2], colorsInactive[2]);
|
mSlides[slideIndex++] = new Slide(R.layout.activity_firststart_location_permission, colorsActive[2], colorsInactive[2]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue