mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Merge branch 'main' into fix/email-verification-input
This commit is contained in:
commit
6e8d177d06
2 changed files with 5 additions and 2 deletions
2
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
2
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
|
|
@ -1,7 +1,7 @@
|
||||||
name: "\U0001F41E Bug report"
|
name: "\U0001F41E Bug report"
|
||||||
description: Create a report to help us improve.
|
description: Create a report to help us improve.
|
||||||
title: "[Bug]: "
|
title: "[Bug]: "
|
||||||
labels: ["bug"]
|
type: Bug # Retained to categorize the issue as per organization-level type
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,10 @@ class UploadMediaPresenter @Inject constructor(
|
||||||
view.showProgress(false)
|
view.showProgress(false)
|
||||||
val gpsCoords = uploadItem.gpsCoords
|
val gpsCoords = uploadItem.gpsCoords
|
||||||
val hasImageCoordinates = gpsCoords != null && gpsCoords.imageCoordsExists
|
val hasImageCoordinates = gpsCoords != null && gpsCoords.imageCoordsExists
|
||||||
if (hasImageCoordinates && place == null) {
|
|
||||||
|
// Only check for nearby places if image has coordinates AND no place was pre-selected
|
||||||
|
// This prevents the popup from appearing when uploading from Nearby feature
|
||||||
|
if (hasImageCoordinates && place == null && uploadItem.place == null) {
|
||||||
checkNearbyPlaces(uploadItem)
|
checkNearbyPlaces(uploadItem)
|
||||||
}
|
}
|
||||||
}, { throwable: Throwable? ->
|
}, { throwable: Throwable? ->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue