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