Author SHA1 Message Date
renovate-bot Bot caf9a68dfb Update kotlin to v2.4.21 2026-11-11 03:00:34 +00:00
jaytux 83c3054802 Client: fix repeated download 2026-11-10 11:27:49 +01:00
jaytux d84cc52e3c Dependency bumps 2026-11-10 10:52:38 +01:00
2 changed files with 3 additions and 6 deletions

No files matched your search

@@ -65,7 +65,6 @@ fun ProjectView(id: Uuid, forceBack: () -> Unit) {
var editing by remember { mutableStateOf(false) } var editing by remember { mutableStateOf(false) }
var deleting by remember { mutableStateOf(false) } var deleting by remember { mutableStateOf(false) }
var addingBenchmark by remember { mutableStateOf(false) } var addingBenchmark by remember { mutableStateOf(false) }
var downloading by remember { mutableStateOf(false) }
Column(Modifier.padding(all = 15.dp)) { Column(Modifier.padding(all = 15.dp)) {
Row(Modifier.height(IntrinsicSize.Min), verticalAlignment = Alignment.CenterVertically) { Row(Modifier.height(IntrinsicSize.Min), verticalAlignment = Alignment.CenterVertically) {
@@ -81,7 +80,7 @@ fun ProjectView(id: Uuid, forceBack: () -> Unit) {
IconButton({ vm.openMonitor() }) { IconButton({ vm.openMonitor() }) {
Icon(Lucide.SquareTerminal, "Open monitor") Icon(Lucide.SquareTerminal, "Open monitor")
} }
IconButton({ downloading = true }) { IconButton({ vm.triggerCsvDownload() }) {
Icon(Lucide.FileDown, "Download CSV") Icon(Lucide.FileDown, "Download CSV")
} }
} }
@@ -124,8 +123,6 @@ fun ProjectView(id: Uuid, forceBack: () -> Unit) {
addingBenchmark = false addingBenchmark = false
} }
if(downloading) vm.triggerCsvDownload()
monitor?.let { MonitorDialog(name ?: "Unnamed Project", it, vm::closeMonitor, vm::clearMonitor) } monitor?.let { MonitorDialog(name ?: "Unnamed Project", it, vm::closeMonitor, vm::clearMonitor) }
} }
+2 -2
View File
@@ -8,8 +8,8 @@ ksoup = "0.2.6"
sqlite = "3.53.2.0" sqlite = "3.53.2.0"
mariadb = "3.5.9" mariadb = "3.5.9"
androidx-lifecycle = "2.10.0" androidx-lifecycle = "2.10.0"
compose-multiplatform = "1.11.1" compose-multiplatform = "1.12.2"
kotlin = "2.4.10" kotlin = "2.4.21"
kotlinx-coroutines = "1.11.0" kotlinx-coroutines = "1.11.0"
ktor = "3.5.1" ktor = "3.5.1"
spring-sec = "7.1.0" spring-sec = "7.1.0"