Commit ebe3ecd2 authored by Him188's avatar Him188

Make `AbstractImage` sealed

parent 985b0b4b
...@@ -58,7 +58,7 @@ fun Image(imageId: String): Image = when { ...@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment