mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-23 06:10:30 +08:00
Make AbstractImage
sealed
This commit is contained in:
parent
985b0b4ba4
commit
ebe3ecd2cb
@ -58,7 +58,7 @@ fun Image(imageId: String): Image = when {
|
||||
}
|
||||
|
||||
@MiraiInternalAPI("使用 Image")
|
||||
abstract class AbstractImage internal constructor() : Image {
|
||||
sealed class AbstractImage : Image {
|
||||
|
||||
private var _stringValue: String? = null
|
||||
get() {
|
||||
|
Loading…
Reference in New Issue
Block a user