change some views

This commit is contained in:
jiahua.liu 2020-04-05 20:41:29 +08:00
parent 128027b494
commit e0a9be74e7
2 changed files with 1 additions and 3 deletions

View File

@ -5,7 +5,6 @@ import javafx.collections.ObservableList
import javafx.geometry.Pos import javafx.geometry.Pos
import javafx.scene.control.TreeTableCell import javafx.scene.control.TreeTableCell
import kotlinx.coroutines.runBlocking import kotlinx.coroutines.runBlocking
import net.mamoe.mirai.console.center.CuiPluginCenter
import net.mamoe.mirai.console.center.PluginCenter import net.mamoe.mirai.console.center.PluginCenter
import net.mamoe.mirai.console.graphical.controller.MiraiGraphicalUIController import net.mamoe.mirai.console.graphical.controller.MiraiGraphicalUIController
import net.mamoe.mirai.console.graphical.model.PluginModel import net.mamoe.mirai.console.graphical.model.PluginModel

View File

@ -56,8 +56,7 @@ internal object CoreUpdater {
host = "jcenter.bintray.com" host = "jcenter.bintray.com"
path("net/mamoe/mirai-core-qqandroid-jvm/") path("net/mamoe/mirai-core-qqandroid-jvm/")
} }
} }).asSequence()
).asSequence()
.map { it.value.drop(1).dropLast(1) } .map { it.value.drop(1).dropLast(1) }
.maxBy { .maxBy {
it.split('.').foldRightIndexed(0) { index: Int, s: String, acc: Int -> it.split('.').foldRightIndexed(0) { index: Int, s: String, acc: Int ->