Fixed the issue #4806: Now, "Location Not Found" pop appears only one… (#4807)

* Fixed the issue #4806: Now, "Location Not Found" pop appears only one time

* Fixed the issue #4806: solved the small bug related to popups warning

* Fixed the issue #4806: solved the small bug of : Location Not Found Pop Up

* Fixed the issue #4806: solved the small bug of : Location Not Found Pop Up

* Fixed the issue #4806: solved the small bug of : Location Not Found Pop Up
This commit is contained in:
Arin Modi 2022-02-13 19:19:49 +05:30 committed by GitHub
parent ab6bd8a682
commit ecc6b1bf28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -366,7 +366,7 @@ public class UploadMediaDetailFragment extends UploadBaseFragment implements
getString(R.string.cancel),
() -> {
uploadItem.setImageQuality(ImageUtils.IMAGE_KEEP);
onNextButtonClicked();
onImageValidationSuccess();
}, null,
checkBoxView,
false);
@ -388,7 +388,12 @@ public class UploadMediaDetailFragment extends UploadBaseFragment implements
getString(R.string.cancel),
() -> {
uploadItem.setImageQuality(ImageUtils.IMAGE_KEEP);
onNextButtonClicked();
/*
User skipped the warning of low quality image, so we call
onImageValidationSuccess rather than onNextButtonClicked to avoid showing
other warning popups again.
*/
onImageValidationSuccess();
},
() -> deleteThisPicture()
);