mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-24 23:20:09 +08:00
Fix text
This commit is contained in:
parent
cbeeaafc72
commit
fdf2cec4d5
@ -96,7 +96,7 @@ class PluginsCenterView : View() {
|
||||
}
|
||||
|
||||
|
||||
jfxButton("下载") {
|
||||
jfxButton(if (item.expired) "更新" else "下载") {
|
||||
action { download(item, this) }
|
||||
}
|
||||
|
||||
|
@ -4,11 +4,13 @@ import javafx.geometry.Insets
|
||||
import net.mamoe.mirai.console.center.PluginCenter
|
||||
import net.mamoe.mirai.console.graphical.util.jfxTextfield
|
||||
import tornadofx.Fragment
|
||||
import tornadofx.form
|
||||
import tornadofx.vbox
|
||||
|
||||
class PluginDetailFragment(info: PluginCenter.PluginInfo) : Fragment() {
|
||||
|
||||
init {
|
||||
title = info.name
|
||||
}
|
||||
|
||||
override val root = vbox {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user