mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
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:
parent
9d03274e2f
commit
52724b8be0
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue