fix a glitch at sharing an editor image directly

This commit is contained in:
tibbi 2019-01-29 14:28:55 +01:00
parent 18277c13e2
commit 56bc2b6af1

View file

@ -349,6 +349,7 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener
val currentFilter = getFiltersAdapter()?.getCurrentFilter()
if (currentFilter == null) {
toast(R.string.unknown_error_occurred)
return@Thread
}
val originalBitmap = Glide.with(applicationContext).asBitmap().load(uri).submit(Target.SIZE_ORIGINAL, Target.SIZE_ORIGINAL).get()