Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
afb8799db2 | ||
|
|
6e21b1038b | ||
|
|
9a32bb8590 | ||
|
|
589649d9f6
|
||
|
|
ae7724b3c4
|
No files matched your search
+5
-1
@@ -138,7 +138,11 @@ class ProjectVM(
|
|||||||
when(event) {
|
when(event) {
|
||||||
ProjectEvent.Deleted -> back()
|
ProjectEvent.Deleted -> back()
|
||||||
is ProjectEvent.EntryDeleted -> _benchmarks.value = _benchmarks.value.replace({ it.id == event.benchmarkId }) { it.remove(event.id) }
|
is ProjectEvent.EntryDeleted -> _benchmarks.value = _benchmarks.value.replace({ it.id == event.benchmarkId }) { it.remove(event.id) }
|
||||||
is ProjectEvent.VersionChanged -> _labels.value += (event.label.id to Version.fromResponse(event.label))
|
is ProjectEvent.VersionChanged -> {
|
||||||
|
val updVersion = Version.fromResponse(event.label)
|
||||||
|
_labels.value += (event.label.id to updVersion)
|
||||||
|
_benchmarks.value = _benchmarks.value.map { b -> b.copy(entries = b.entries.map { e -> if(e.label.id == event.label.id) e.copy(label = updVersion) else e }) }
|
||||||
|
}
|
||||||
is ProjectEvent.VersionDeleted -> {
|
is ProjectEvent.VersionDeleted -> {
|
||||||
_labels.value = _labels.value.filter { it.value.id != event.id }
|
_labels.value = _labels.value.filter { it.value.id != event.id }
|
||||||
_benchmarks.value = _benchmarks.value.map { it.copy(entries = it.entries.filter { e -> e.label.id != event.id }) }
|
_benchmarks.value = _benchmarks.value.map { it.copy(entries = it.entries.filter { e -> e.label.id != event.id }) }
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ slf4j = "2.0.18"
|
|||||||
json = "20260522"
|
json = "20260522"
|
||||||
exposed = "1.3.1"
|
exposed = "1.3.1"
|
||||||
ksoup = "0.2.6"
|
ksoup = "0.2.6"
|
||||||
sqlite = "3.53.2.0"
|
sqlite = "3.54.1.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.11.1"
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||||
|
}
|
||||||
@@ -7,7 +7,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = "com.jaytux.phoebench"
|
group = "com.jaytux.phoebench"
|
||||||
version = PhoebenchVersion(1, 2, 1, "patch0")
|
version = PhoebenchVersion(1, 2, 1, "patch1")
|
||||||
|
|
||||||
if((version as PhoebenchVersion) < (rootProject.version as PhoebenchVersion))
|
if((version as PhoebenchVersion) < (rootProject.version as PhoebenchVersion))
|
||||||
throw GradleException("Server version must be at least as high as protocol/common version")
|
throw GradleException("Server version must be at least as high as protocol/common version")
|
||||||
|
|||||||
@@ -298,7 +298,7 @@ inline fun <reified TParams: Any, reified TEvent: Any, TInter, TExtra> Route.wra
|
|||||||
handler(params, inter, extra, converter.deserialize<TEvent>(frame))
|
handler(params, inter, extra, converter.deserialize<TEvent>(frame))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch(e: ClosedReceiveChannelException) {
|
finally {
|
||||||
onClose(params, inter, extra)
|
onClose(params, inter, extra)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user