diff --git a/app/src/main/java/com/simplemobiletools/gallery/activities/ViewPagerActivity.java b/app/src/main/java/com/simplemobiletools/gallery/activities/ViewPagerActivity.java index 07ddbd0a0..98e397599 100644 --- a/app/src/main/java/com/simplemobiletools/gallery/activities/ViewPagerActivity.java +++ b/app/src/main/java/com/simplemobiletools/gallery/activities/ViewPagerActivity.java @@ -110,9 +110,9 @@ public class ViewPagerActivity extends AppCompatActivity implements ViewPager.On if (curPath.equals(path)) pos = i; - } - i++; + i++; + } } while (cursor.moveToNext()); cursor.close(); }