mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 00:17:58 +01:00
Merge pull request #2483 from KryptKode/fix/move_position
fix: position returning to 0 after moving file
This commit is contained in:
commit
79b3870598
1 changed files with 1 additions and 1 deletions
|
@ -1235,7 +1235,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
||||||
private fun refreshViewPager() {
|
private fun refreshViewPager() {
|
||||||
if (config.getFolderSorting(mDirectory) and SORT_BY_RANDOM == 0) {
|
if (config.getFolderSorting(mDirectory) and SORT_BY_RANDOM == 0) {
|
||||||
GetMediaAsynctask(applicationContext, mDirectory, false, false, mShowAll) {
|
GetMediaAsynctask(applicationContext, mDirectory, false, false, mShowAll) {
|
||||||
gotMedia(it, refetchViewPagerPosition = true)
|
gotMedia(it, refetchViewPagerPosition = false)
|
||||||
}.execute()
|
}.execute()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue