mirror of
https://github.com/syncthing/syncthing-android.git
synced 2025-01-09 11:41:29 +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)
|
||||
];
|
||||
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]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue