Make AbstractImage sealed

This commit is contained in:
Him188 2020-04-03 08:48:05 +08:00
parent 985b0b4ba4
commit ebe3ecd2cb

View File

@ -58,7 +58,7 @@ fun Image(imageId: String): Image = when {
} }
@MiraiInternalAPI("使用 Image") @MiraiInternalAPI("使用 Image")
abstract class AbstractImage internal constructor() : Image { sealed class AbstractImage : Image {
private var _stringValue: String? = null private var _stringValue: String? = null
get() { get() {