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
2 changed files with 2 additions and 5 deletions

No files matched your search

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