Fix typo error
This commit is contained in:
parent
54dc6c41b5
commit
e4aff60852
1 changed files with 2 additions and 2 deletions
|
@ -1229,8 +1229,8 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun refreshViewPager(refetchPosition: Boolean = false) {
|
private fun refreshViewPager(refetchPosition: Boolean = false) {
|
||||||
val isSortingRandom = config.getFolderSorting(mDirectory) and SORT_BY_RANDOM == 0
|
val isNotRandomSorting = config.getFolderSorting(mDirectory) and SORT_BY_RANDOM == 0
|
||||||
if (!isSortingRandom || isExternalIntent()) {
|
if (isNotRandomSorting || isExternalIntent()) {
|
||||||
GetMediaAsynctask(applicationContext, mDirectory, isPickImage = false, isPickVideo = false, showAll = mShowAll) {
|
GetMediaAsynctask(applicationContext, mDirectory, isPickImage = false, isPickVideo = false, showAll = mShowAll) {
|
||||||
gotMedia(it, refetchViewPagerPosition = refetchPosition)
|
gotMedia(it, refetchViewPagerPosition = refetchPosition)
|
||||||
}.execute()
|
}.execute()
|
||||||
|
|
Loading…
Reference in a new issue