call scanPath after capturing an image on app context
This commit is contained in:
parent
5699ab4ca3
commit
f8368150fb
|
@ -563,7 +563,7 @@ class MainActivity : SimpleActivity(), PreviewListener, PhotoProcessor.MediaSave
|
|||
override fun drawFocusRect(x: Int, y: Int) = mFocusRectView.drawFocusRect(x, y)
|
||||
|
||||
override fun mediaSaved(path: String) {
|
||||
scanPath(path) {
|
||||
applicationContext.scanPath(path) {
|
||||
setupPreviewImage(mIsInPhotoMode)
|
||||
Intent(BROADCAST_REFRESH_MEDIA).apply {
|
||||
`package` = "com.simplemobiletools.gallery"
|
||||
|
|
Loading…
Reference in New Issue