Skip to content

Commit 7a4eb27

Browse files
committed
fix(kivotos): 对应core的函数签名更改
1 parent cd3d489 commit 7a4eb27

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

arona/arona-plugin/custom-menu/src/main/kotlin/com/diyigemt/arona/custom/menu/Main.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ object CustomCommandCommand : AbstractCommand(
184184
button(it.key, it.value.trim(), true)
185185
}
186186
}
187-
}.also { it.windowed() }
187+
}.windowed()
188188
sendMessage(md + kb)
189189
} else {
190190
sendMessage(md)

arona/arona-plugin/kivotos/src/main/kotlin/com/diyigemt/kivotos/MainCommand.kt

+1-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ private val playerMainMenu by lazy {
2626
subButton("设置", enter = true)
2727
subButton("删号")
2828
}
29-
}.also {
30-
it.windowed()
31-
}
29+
}.windowed()
3230
}
3331

3432
private val playerMainMenuWithTitle by lazy {

arona/arona-plugin/kivotos/src/main/kotlin/com/diyigemt/kivotos/coffee/CoffeeCommand.kt

+2-4
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ class CoffeeStudentTendencyCommand : AbstractCommand(
581581
"添加学生", "/${KivotosCommand.primaryName} 咖啡厅 来访倾向 添加 "
582582
)
583583
}
584-
}).also { it.windowed() }
584+
}).windowed()
585585
currentContext.setObject("kb", kb)
586586
currentContext.setObject("md", md)
587587
if (currentContext.invokedSubcommand == null) {
@@ -774,7 +774,5 @@ private fun UserCommandSender.buildTouchButton(
774774
}
775775
}
776776
}
777-
}.also {
778-
it.windowed()
779-
}
777+
}.windowed()
780778
}

0 commit comments

Comments
 (0)