mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-04-25 07:28:51 +02:00
move photo panorama check on a background thread
This commit is contained in:
parent
ce0db222e3
commit
23f77ea19f
@ -207,9 +207,12 @@ class PhotoFragment : ViewPagerFragment() {
|
|||||||
loadImage()
|
loadImage()
|
||||||
initExtendedDetails()
|
initExtendedDetails()
|
||||||
mWasInit = true
|
mWasInit = true
|
||||||
checkIfPanorama()
|
|
||||||
updateInstantSwitchWidths()
|
updateInstantSwitchWidths()
|
||||||
|
|
||||||
|
ensureBackgroundThread {
|
||||||
|
checkIfPanorama()
|
||||||
|
}
|
||||||
|
|
||||||
return mView
|
return mView
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user