fix(canary/ComponentsV2): 8.8.0 @ LavaDesu/Aliucord@dc380c6fc3

This commit is contained in:
LavaDesu 2025-08-08 15:59:44 +10:00
parent f3d3058541
commit c683db2a0b
Signed by: cilly
GPG key ID: 6500251E087653C9
2 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,6 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
version = "8.7.0" version = "8.8.0"
description = "Beta backport of ComponentsV2" description = "Beta backport of ComponentsV2"
aliucord { aliucord {
@ -14,6 +14,9 @@ aliucord {
Changelog {added marginTop} Changelog {added marginTop}
====================== ======================
# 8.8.0
* Fix a possible weird crash
# 8.7.0 # 8.7.0
* Prevent ViewRaw crash * Prevent ViewRaw crash
* Add a CV2 tag to distinguish new embeds (will not be in core) * Add a CV2 tag to distinguish new embeds (will not be in core)

View file

@ -27,7 +27,7 @@ import com.discord.widgets.chat.list.entries.BotUiComponentEntry
import com.lytefast.flexinput.R import com.lytefast.flexinput.R
import de.robv.android.xposed.XposedBridge import de.robv.android.xposed.XposedBridge
val Message.isComponentV2 get() = (flags shr 15) and 1 == 1L val Message.isComponentV2 get() = ((flags ?: 0) shr 15) and 1 == 1L
@AliucordPlugin(requiresRestart = true) @AliucordPlugin(requiresRestart = true)
@Suppress("unused") @Suppress("unused")