Fix: Routen-Aufzeichnung offline — Dim-Screen + WakeLock + GPS funktionieren
_startRecInOvl() crashte bei null _recMap auf L.polyline().addTo(_recMap) → WakeLock, watchPosition, _resetRecInactTimer() wurden nie erreicht → Dim-Screen wurde nie aktiviert, GPS-Track lief nicht. - L.polyline nur erstellen wenn _recMap && window.L vorhanden - watchPosition-Callback: _recPolyline?.addLatLng, _recLocMarker?.setLatLng, _recMap?.setView alle mit Optional Chaining gesichert - SW by-v996, APP_VER 996
This commit is contained in:
parent
c59326af17
commit
1d67d6307e
4 changed files with 9 additions and 7 deletions
|
|
@ -410,7 +410,7 @@ async def serve_media(path: str, request: _Request):
|
|||
raise _HE(404, "Nicht gefunden.")
|
||||
return _media_response(filepath)
|
||||
|
||||
APP_VER = "995" # muss mit APP_VER in app.js übereinstimmen
|
||||
APP_VER = "996" # muss mit APP_VER in app.js übereinstimmen
|
||||
|
||||
@app.get("/.well-known/assetlinks.json")
|
||||
async def assetlinks():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue