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:
2025-09-19 14:40:54 +02:00
parent f73e11078b
commit 8580ff198c
11 changed files with 38 additions and 131 deletions

View File

@@ -6,7 +6,8 @@ import kotlin.math.round
import kotlin.math.roundToLong
// Plattformsgemensamt API (actual i plattformsmappar, Android redan på plats i UnitFormat.android.kt)
expect fun formatRelativeOrTime(ms: Long): String
expect fun formatRelativeOrTime(ms: Long): String // Ändrad: samma parameter som actual
// Hjälp: format med fast antal decimaler, utan JVM/Locale/printf.
private fun formatFixed(value: Double, decimals: Int): String {