From d1bf25b9c965b210b674a1e0768b912ede645f50 Mon Sep 17 00:00:00 2001 From: 2ndbeam <2ndbeam@disroot.org> Date: Wed, 5 Nov 2025 15:55:29 +0300 Subject: [PATCH] Added TODO --- TODO | 22 +++++++++++++++++++ .../com/mirenkov/ktheightmap/MainActivity.kt | 1 - .../com/mirenkov/ktheightmap/MapCanvas.kt | 5 ++--- 3 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 TODO diff --git a/TODO b/TODO new file mode 100644 index 0000000..bd8cf59 --- /dev/null +++ b/TODO @@ -0,0 +1,22 @@ +functionality: + sasplanet zipped sqlitedbs parser +refactor: + extract file opener from settings activity + extract zip parser from settings activity + make use of Config.kt (maybe move consts here?) +fix: + app rotation with placed point +ui: + proper file loading menu + translation usage +test: + khm: + read header + get height + get multiple heights + merc: + offset from coords + coords from offset + parsers: + read values into inner db + diff --git a/app/src/main/java/com/mirenkov/ktheightmap/MainActivity.kt b/app/src/main/java/com/mirenkov/ktheightmap/MainActivity.kt index 3db792a..105bf99 100644 --- a/app/src/main/java/com/mirenkov/ktheightmap/MainActivity.kt +++ b/app/src/main/java/com/mirenkov/ktheightmap/MainActivity.kt @@ -3,7 +3,6 @@ package com.mirenkov.ktheightmap import android.app.Application import android.content.Intent import android.os.Bundle -import android.util.Log import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.enableEdgeToEdge diff --git a/app/src/main/java/com/mirenkov/ktheightmap/MapCanvas.kt b/app/src/main/java/com/mirenkov/ktheightmap/MapCanvas.kt index d7f28b3..13f4faa 100644 --- a/app/src/main/java/com/mirenkov/ktheightmap/MapCanvas.kt +++ b/app/src/main/java/com/mirenkov/ktheightmap/MapCanvas.kt @@ -4,9 +4,8 @@ import android.content.Context import androidx.compose.foundation.Canvas import androidx.compose.foundation.gestures.detectDragGestures import androidx.compose.foundation.layout.fillMaxSize -import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue -import androidx.compose.runtime.mutableStateOf -import androidx.compose.runtime.remember +import androidx.compose.runtime.Composable +import androidx.compose.runtime.getValue import androidx.compose.runtime.saveable.rememberSaveable import androidx.compose.runtime.setValue import androidx.compose.ui.Modifier