16/1/24 - Correccion de error de ubicacion no inicializada

This commit is contained in:
2024-01-16 19:07:03 -06:00
parent 1451af86ec
commit f228f59e21
4 changed files with 20 additions and 18 deletions

View File

@@ -441,7 +441,7 @@ Sub B4XPage_Appear
StartActivity(Starter.GPS.LocationSettingsIntent)
Else
Starter.GPS.Start(0, 0)
If Starter.ubicacionActual.Latitude <> 0 Then GPS_LocationChanged(Starter.ubicacionActual)
If Starter.ubicacionActual.IsInitialized and Starter.ubicacionActual.Latitude <> 0 Then GPS_LocationChanged(Starter.ubicacionActual)
End If
If muestraBoleta Then LLAMA_BOLETA
BT_QR.Enabled = False