mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-02-15 19:01:00 +01:00
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…
x
Reference in New Issue
Block a user