chore: add new features for cabine

This commit is contained in:
2026-02-26 19:57:01 +01:00
parent 0fb4bd8a89
commit f91d4276cc
8 changed files with 467 additions and 323 deletions
@@ -434,7 +434,10 @@ export default function DashboardScreen() {
const openNavigation = (address: string) => {
const encoded = encodeURIComponent(address);
const url = `https://www.google.com/maps/dir/?api=1&destination=${encoded}&travelmode=driving`;
let url = `https://waze.com/ul?q=${encoded}&navigate=yes`;
if (lastCoords) {
url += `&ll=${lastCoords.lat},${lastCoords.lng}`;
}
Linking.openURL(url);
};