Save some space in Configuration.kt
This commit is contained in:
parent
bca8f830e9
commit
87106d4e7a
@ -97,13 +97,9 @@ object Configuration {
|
|||||||
Thread {
|
Thread {
|
||||||
runBlocking {
|
runBlocking {
|
||||||
ClickGui.boxContext {
|
ClickGui.boxContext {
|
||||||
enabledFeatures.putAll(
|
enabledFeatures.putAll(buttons.map {
|
||||||
buttons.map {
|
it.title to it.toggled
|
||||||
it.run {
|
})
|
||||||
title to toggled
|
|
||||||
}
|
|
||||||
}
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
writeConfig(obtained.withFullModifiableValues()).join()
|
writeConfig(obtained.withFullModifiableValues()).join()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user