make sure we open the correct photo on fullscreen

This commit is contained in:
tibbi 2016-02-27 13:33:06 +01:00
parent e982fa0d22
commit 732fa20cb5

View file

@ -110,9 +110,9 @@ public class ViewPagerActivity extends AppCompatActivity implements ViewPager.On
if (curPath.equals(path)) if (curPath.equals(path))
pos = i; pos = i;
}
i++; i++;
}
} while (cursor.moveToNext()); } while (cursor.moveToNext());
cursor.close(); cursor.close();
} }