mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-29 16:08:00 +01:00
show the No Date Takens found error message only in some cases
This commit is contained in:
parent
413ced9b87
commit
f7735df137
1 changed files with 4 additions and 1 deletions
|
@ -454,7 +454,10 @@ fun Activity.fixDateTaken(paths: ArrayList<String>, showToasts: Boolean, hasResc
|
|||
}
|
||||
|
||||
if (!didUpdateFile) {
|
||||
toast(R.string.no_date_takens_found)
|
||||
if (showToasts) {
|
||||
toast(R.string.no_date_takens_found)
|
||||
}
|
||||
|
||||
runOnUiThread {
|
||||
callback?.invoke()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue