Add setting Picture_Has_Correct_Location prefs(Fixed #2530) (#2536)

Update Picture_Has_Correct_Location prefs in method handleImage. This
fixed an issue that this prefs is not set and related wikidata
can't be updated.
This commit is contained in:
Zhao Gang 2019-03-12 16:02:51 +08:00 committed by Nicolas Raoul
parent 9d03274e2f
commit 52724b8be0

View file

@ -129,6 +129,7 @@ public class UploadPresenter {
if (imageResult == IMAGE_KEEP || imageResult == IMAGE_OK) { if (imageResult == IMAGE_KEEP || imageResult == IMAGE_OK) {
Timber.d("Set title and desc; Show next uploaded item"); Timber.d("Set title and desc; Show next uploaded item");
setTitleAndDescription(title, descriptions); setTitleAndDescription(title, descriptions);
directKvStore.putBoolean("Picture_Has_Correct_Location", true);
nextUploadedItem(); nextUploadedItem();
} else { } else {
handleBadImage(imageResult); handleBadImage(imageResult);