make sure the FixDateTaken callback gets called
This commit is contained in:
parent
e0a78cc057
commit
ddbc78226e
|
@ -18,8 +18,8 @@ import android.provider.MediaStore.Images
|
||||||
import android.util.DisplayMetrics
|
import android.util.DisplayMetrics
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import androidx.appcompat.app.AppCompatActivity
|
import androidx.appcompat.app.AppCompatActivity
|
||||||
import androidx.lifecycle.lifecycleScope
|
|
||||||
import androidx.exifinterface.media.ExifInterface
|
import androidx.exifinterface.media.ExifInterface
|
||||||
|
import androidx.lifecycle.lifecycleScope
|
||||||
import com.bumptech.glide.Glide
|
import com.bumptech.glide.Glide
|
||||||
import com.bumptech.glide.load.DecodeFormat
|
import com.bumptech.glide.load.DecodeFormat
|
||||||
import com.bumptech.glide.load.engine.DiskCacheStrategy
|
import com.bumptech.glide.load.engine.DiskCacheStrategy
|
||||||
|
@ -513,7 +513,7 @@ fun AppCompatActivity.fixDateTaken(
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
rescanPaths(pathsToRescan) {
|
rescanPaths(pathsToRescan) {
|
||||||
fixDateTaken(paths, showToasts, true)
|
fixDateTaken(paths, showToasts, true, callback)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue