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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user