do not allow clicking file thumbnails, when activity is finishing
This commit is contained in:
parent
2506f1579e
commit
51673ebdf4
|
@ -381,7 +381,7 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener {
|
|||
val fastscroller = if (config.scrollHorizontally) media_horizontal_fastscroller else media_vertical_fastscroller
|
||||
MediaAdapter(this, mMedia.clone() as ArrayList<ThumbnailItem>, this, mIsGetImageIntent || mIsGetVideoIntent || mIsGetAnyIntent,
|
||||
mAllowPickingMultiple, mPath, media_grid, fastscroller) {
|
||||
if (it is Medium) {
|
||||
if (it is Medium && !isFinishing) {
|
||||
itemClicked(it.path)
|
||||
}
|
||||
}.apply {
|
||||
|
|
Loading…
Reference in New Issue