mirror of
https://github.com/accelforce/Yuito
synced 2025-02-09 16:18:49 +01:00
Fix unhandled NPE when sharing an image from ViewMediaActivity (#1111)
This commit is contained in:
parent
47fa775f21
commit
006300ede6
@ -272,11 +272,11 @@ class ViewMediaActivity : BaseActivity(), ViewImageFragment.PhotoActionsListener
|
||||
}
|
||||
}
|
||||
|
||||
override fun onBitmapFailed(errorDrawable: Drawable) {
|
||||
override fun onBitmapFailed(errorDrawable: Drawable?) {
|
||||
Log.e(TAG, "Error loading temporary media.")
|
||||
}
|
||||
|
||||
override fun onPrepareLoad(placeHolderDrawable: Drawable) { }
|
||||
override fun onPrepareLoad(placeHolderDrawable: Drawable?) { }
|
||||
})
|
||||
|
||||
shareFile(file, "image/png")
|
||||
|
Loading…
x
Reference in New Issue
Block a user