Fix Wikidata edit failure by resetting hasInvalidLocation flag on upload confirmation

This commit is contained in:
Sonal Yadav 2025-08-04 20:30:57 +05:30
parent c3df28b5fe
commit 81d53ae836

View file

@ -821,6 +821,7 @@ class UploadMediaDetailFragment : UploadBaseFragment(), UploadMediaDetailsContra
{
showProgress(false)
uploadItem.imageQuality = IMAGE_OK
uploadItem.hasInvalidLocation = false // Reset invalid location flag when user confirms upload
},
{
presenterCallback!!.deletePictureAtIndex(index)