From 555483b7248b0cb75bb9ed83b47880349f0c6ee0 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 15 May 2026 20:11:41 +0000 Subject: fix: saved tracks overlay, GPX file handler, nav import MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Saved tracks overlay was immediately hidden after showing because bottomNav.selectedItemId = nav_map fires the nav item listener, which calls hideOverlays(). Removed that line — the map tab is already selected when the instrument sheet is open. GPX file handler: - Manifest: intent-filter for application/gpx+xml + singleTop launch mode so onNewIntent is called when app is already running - MainActivity: handleIncomingGpx() called from onCreate + onNewIntent; parses the URI on IO dispatcher and hands points to ViewModel - MainViewModel: addImportedTrack() prepends parsed points to pastTracks and savedTracks state flows (displayed in session only, not persisted) https://claude.ai/code/session_01DNjbYxiC1cco83dArNGW3G --- android-app/app/src/main/AndroidManifest.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'android-app/app/src/main/AndroidManifest.xml') diff --git a/android-app/app/src/main/AndroidManifest.xml b/android-app/app/src/main/AndroidManifest.xml index 7cbafc7..7b9a9e4 100644 --- a/android-app/app/src/main/AndroidManifest.xml +++ b/android-app/app/src/main/AndroidManifest.xml @@ -27,12 +27,18 @@ + + + + + -- cgit v1.2.3