Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-01 10:37:31 +08:00
parent 91a14d8286
commit d27f5f315c
71 changed files with 94 additions and 1561 deletions

View File

@@ -1172,13 +1172,8 @@ class RichTextNodeItem {
class Emoji {
String? url;
late num size;
/// remove gif
Emoji.fromJson(Map<String, dynamic> json) {
url =
// noneNullOrEmptyString(json['webp_url']) ??
// noneNullOrEmptyString(json['gif_url']) ??
nonNullOrEmptyString(json['icon_url']);
url = nonNullOrEmptyString(json['icon_url']);
size = json['size'] ?? 1;
}
}