+
No tienes familiares asociados a tu cuenta
diff --git a/src/app/pages/turnos/prestaciones/turnos-prestaciones.ts b/src/app/pages/turnos/prestaciones/turnos-prestaciones.ts
index cf456700..cb5330f2 100644
--- a/src/app/pages/turnos/prestaciones/turnos-prestaciones.ts
+++ b/src/app/pages/turnos/prestaciones/turnos-prestaciones.ts
@@ -61,7 +61,9 @@ export class TurnosPrestacionesPage implements OnDestroy, OnInit {
this.idPaciente = params.idPaciente;
});
// Es un dispositivo?
- if (this.platform.is('android') || this.platform.is('ios')) {
+
+ if (this.platform.is('cordova')) {
+
// Fuerza el pedido de permiso de GPS antes de intentar geolocalizar
this.checker.diagnostic.isLocationEnabled().then((enabled: boolean) => {
if (enabled) {
@@ -81,7 +83,16 @@ export class TurnosPrestacionesPage implements OnDestroy, OnInit {
// Sin permiso para GPS, muestra mensaje "Activar por favor" en HTML
this.solicitarUbicacion();
}
+ }).catch(err => {
+ console.error('Error al verificar ubicación:', err);
+ this.GPSAvailable = true;
+ this.ubicacionActual();
});
+ } else {
+ // Entorno Web/Navegador
+ this.GPSAvailable = true;
+ this.loader = true;
+ this.ubicacionActual();
}
}
diff --git a/src/theme/main.scss b/src/theme/main.scss
index 490011b1..ffca1cd3 100644
--- a/src/theme/main.scss
+++ b/src/theme/main.scss
@@ -397,7 +397,7 @@ ion-content {
// }
}
- .logo-home {
+.logo-home {
display: flex !important;
margin-top: 120px;