diff options
| author | Claude <noreply@anthropic.com> | 2026-04-11 09:51:19 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-04-11 09:51:19 +0000 |
| commit | 09f5f5bac07970a09369e3d4f350e94a66a47923 (patch) | |
| tree | 407ed083af7c40dbd5495e6ee555ca1eb3c153d6 /android-app | |
| parent | 3ddf436958ffde3198492895725fc0ca8ab0a1b2 (diff) | |
Fix: restore accidentally dropped fun addGpsPoint declaration
Edit tool dropped the function header when inserting injectTestTrack/
buildTestTrack above it. Restore `fun addGpsPoint(...)` so the build compiles.
https://claude.ai/code/session_01HXPjBsogsJVRwCiekDGkJX
Diffstat (limited to 'android-app')
| -rw-r--r-- | android-app/app/src/main/kotlin/org/terst/nav/ui/MainViewModel.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android-app/app/src/main/kotlin/org/terst/nav/ui/MainViewModel.kt b/android-app/app/src/main/kotlin/org/terst/nav/ui/MainViewModel.kt index 36811f7..df3ab5e 100644 --- a/android-app/app/src/main/kotlin/org/terst/nav/ui/MainViewModel.kt +++ b/android-app/app/src/main/kotlin/org/terst/nav/ui/MainViewModel.kt @@ -137,7 +137,7 @@ class MainViewModel( } } -(lat: Double, lon: Double, sogKnots: Double, cogDeg: Double) { + fun addGpsPoint(lat: Double, lon: Double, sogKnots: Double, cogDeg: Double) { val conditions = _marineConditions.value val forecast = _forecast.value.firstOrNull() val point = TrackPoint( |
