Merge branch 'main' into fix/email-verification-input

This commit is contained in:
VoidRaven 2025-07-05 14:37:00 +05:30 committed by GitHub
commit 6e8d177d06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -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:

View file

@ -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? ->