move photo panorama check on a background thread

This commit is contained in:
tibbi 2023-06-08 19:07:32 +02:00
parent ce0db222e3
commit 23f77ea19f
1 changed files with 4 additions and 1 deletions

View File

@ -207,9 +207,12 @@ class PhotoFragment : ViewPagerFragment() {
loadImage() loadImage()
initExtendedDetails() initExtendedDetails()
mWasInit = true mWasInit = true
checkIfPanorama()
updateInstantSwitchWidths() updateInstantSwitchWidths()
ensureBackgroundThread {
checkIfPanorama()
}
return mView return mView
} }