make sure we dont try changing view visibility from the bg thread
This commit is contained in:
parent
b133368b9e
commit
11dd5ac501
2 changed files with 6 additions and 4 deletions
|
@ -78,7 +78,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:7e9642d830'
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:988f06df1b'
|
||||||
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
|
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
|
||||||
implementation 'it.sephiroth.android.exif:library:1.0.1'
|
implementation 'it.sephiroth.android.exif:library:1.0.1'
|
||||||
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.25'
|
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.25'
|
||||||
|
|
|
@ -759,9 +759,11 @@ class PhotoFragment : ViewPagerFragment() {
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
|
|
||||||
mView.panorama_outline.beVisibleIf(mIsPanorama)
|
activity?.runOnUiThread {
|
||||||
if (mIsFullscreen) {
|
mView.panorama_outline?.beVisibleIf(mIsPanorama)
|
||||||
mView.panorama_outline.alpha = 0f
|
if (mIsFullscreen) {
|
||||||
|
mView.panorama_outline?.alpha = 0f
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue