mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 04:57:59 +01:00
make sure the FixDateTaken callback gets called
This commit is contained in:
parent
e0a78cc057
commit
ddbc78226e
1 changed files with 12 additions and 12 deletions
|
@ -18,8 +18,8 @@ import android.provider.MediaStore.Images
|
|||
import android.util.DisplayMetrics
|
||||
import android.view.View
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import androidx.exifinterface.media.ExifInterface
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import com.bumptech.glide.Glide
|
||||
import com.bumptech.glide.load.DecodeFormat
|
||||
import com.bumptech.glide.load.engine.DiskCacheStrategy
|
||||
|
@ -513,7 +513,7 @@ fun AppCompatActivity.fixDateTaken(
|
|||
}
|
||||
} else {
|
||||
rescanPaths(pathsToRescan) {
|
||||
fixDateTaken(paths, showToasts, true)
|
||||
fixDateTaken(paths, showToasts, true, callback)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue