make sure the FixDateTaken callback gets called

This commit is contained in:
tibbi 2021-03-08 21:21:49 +01:00
parent e0a78cc057
commit ddbc78226e
1 changed files with 12 additions and 12 deletions

View File

@ -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)
}
}
}