mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
show the No Date Takens found error message only in some cases
This commit is contained in:
@@ -454,7 +454,10 @@ fun Activity.fixDateTaken(paths: ArrayList<String>, showToasts: Boolean, hasResc
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!didUpdateFile) {
|
if (!didUpdateFile) {
|
||||||
toast(R.string.no_date_takens_found)
|
if (showToasts) {
|
||||||
|
toast(R.string.no_date_takens_found)
|
||||||
|
}
|
||||||
|
|
||||||
runOnUiThread {
|
runOnUiThread {
|
||||||
callback?.invoke()
|
callback?.invoke()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user