Skip to content

Commit

Permalink
hide progressbar because suddenly it remains visible when the actionm…
Browse files Browse the repository at this point in the history
…ode is destroyed
  • Loading branch information
dafi committed Aug 23, 2019
1 parent c24f431 commit b4ad863
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ class ImagePickerFragment : AbsPhotoShelfFragment(), OnPhotoBrowseClickMultiChoi
imagePickerAdapter.showButtons = false
imagePickerAdapter.selection.clear()
selectedItemsViewContainer.updateList(emptyList())
// the constraintLayout shows the progressbar so we hide it
progressbar.visibility = GONE
}

private fun retrieveImages(destDirectory: File? = null) {
Expand Down

0 comments on commit b4ad863

Please sign in to comment.