Remove unused declarations; fix KMP expect/actual and SettingsStore duplicates
- Safe-delete unused declarations across app/ and shared/ - Optimize imports - KMP: align expect/actual for formatRelativeOrTime(ms: Long) and update callers - SettingsStore: remove duplicate wrapper functions causing overloads
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package app.klottr.nearby //Regler för “Närliggande” (logik i commonMain)
|
||||
|
||||
import app.klottr.nearby.NearbyEntryShared //Vår delade radmodell
|
||||
import app.klottr.net.DigitaltMuseumItem //För att kunna slå upp DM-poster
|
||||
import app.klottr.net.FornsokItem //För att kunna slå upp Fornsök-poster
|
||||
import app.klottr.util.FoundStore //Lagerkonstanter
|
||||
@@ -28,7 +27,7 @@ fun markNewFinds( //
|
||||
for (e in entries) { //
|
||||
val id = e.id //Lokal kopia för säkra null-kontroller mellan moduler
|
||||
if (e.distanceM <= e.insideRadiusM && id != null) { //Samma villkor som i appen
|
||||
if (FoundStore.markFound(ctx, e.layer, id, e.label, e.lat, e.lon, nowMillis)) { //
|
||||
if (FoundStore.markFound(e.layer, id, e.label, e.lat, e.lon, nowMillis)) { //
|
||||
onMarked() //Signalera att något nytt markerades
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user