Update dependencies

This commit is contained in:
世界
2023-10-03 12:00:00 +08:00
parent 7930d42994
commit fcafd5f956
3 changed files with 12 additions and 7 deletions

View File

@@ -32,6 +32,7 @@ open class CommandClient(
fun onDisconnected() {}
fun updateStatus(status: StatusMessage) {}
fun updateGroups(groups: List<OutboundGroup>) {}
fun clearLog() {}
fun appendLog(message: String) {}
fun initializeClashMode(modeList: List<String>, currentMode: String) {}
fun updateClashMode(newMode: String) {}
@@ -106,6 +107,10 @@ open class CommandClient(
handler.updateGroups(groups)
}
override fun clearLog() {
handler.clearLog()
}
override fun writeLog(message: String?) {
if (message == null) {
return