Skip to content

Commit

Permalink
fix: 去除无用输出
Browse files Browse the repository at this point in the history
  • Loading branch information
CLOUDERHEM committed Mar 19, 2024
1 parent 05bc2d6 commit 61a29da
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,8 @@ class CardViewFeatureShortFilter : IHook {
if (JsonNodeOp.JsonNode_get.invoke(shortContentJsonNode, "adjson") != null) {
return true
}
val adInfo = JsonNodeOp.JsonNode_get.invoke(shortContentJsonNode, "ad_info")
if (adInfo == null) {
XposedBridge.log(shortContentJsonNode.toString())
return false
}
val adInfo =
JsonNodeOp.JsonNode_get.invoke(shortContentJsonNode, "ad_info") ?: return false
val adInfoData = JsonNodeOp.JsonNode_get.invoke(adInfo, "data")
return if (adInfoData != null) {
// "" , "{}"
Expand Down

0 comments on commit 61a29da

Please sign in to comment.