mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-11-08 13:17:12 +01:00
fix: use correct logging tags
This commit is contained in:
parent
fbc6855c4a
commit
420b9263b6
@ -22,7 +22,7 @@ internal object TwiFucker {
|
|||||||
|
|
||||||
private fun JSONObject.jsonCheckAndRemoveRecommendedUsers() {
|
private fun JSONObject.jsonCheckAndRemoveRecommendedUsers() {
|
||||||
if (jsonHasRecommendedUsers()) {
|
if (jsonHasRecommendedUsers()) {
|
||||||
Log.d("revanced", "Handle recommended users: $this")
|
Log.d("ReVanced", "Handle recommended users: $this")
|
||||||
jsonRemoveRecommendedUsers()
|
jsonRemoveRecommendedUsers()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -35,7 +35,7 @@ internal object TwiFucker {
|
|||||||
|
|
||||||
private fun JSONObject.jsonCheckAndRemoveThreads() {
|
private fun JSONObject.jsonCheckAndRemoveThreads() {
|
||||||
if (jsonHasThreads()) {
|
if (jsonHasThreads()) {
|
||||||
Log.d("revabced", "Handle threads: $this")
|
Log.d("ReVanced", "Handle threads: $this")
|
||||||
jsonRemoveThreads()
|
jsonRemoveThreads()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -92,7 +92,7 @@ internal object TwiFucker {
|
|||||||
val trendRemoveIndex = mutableListOf<Int>()
|
val trendRemoveIndex = mutableListOf<Int>()
|
||||||
forEachIndexed { trendIndex, trend ->
|
forEachIndexed { trendIndex, trend ->
|
||||||
if (trend.trendHasPromotedMetadata()) {
|
if (trend.trendHasPromotedMetadata()) {
|
||||||
Log.d("revanced", "Handle trends ads $trendIndex $trend")
|
Log.d("ReVanced", "Handle trends ads $trendIndex $trend")
|
||||||
trendRemoveIndex.add(trendIndex)
|
trendRemoveIndex.add(trendIndex)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -119,7 +119,7 @@ internal object TwiFucker {
|
|||||||
entry.entryGetTrends()?.trendRemoveAds()
|
entry.entryGetTrends()?.trendRemoveAds()
|
||||||
|
|
||||||
if (entry.entryHasPromotedMetadata()) {
|
if (entry.entryHasPromotedMetadata()) {
|
||||||
Log.d("revanced", "Handle timeline ads $entryIndex $entry")
|
Log.d("ReVanced", "Handle timeline ads $entryIndex $entry")
|
||||||
removeIndex.add(entryIndex)
|
removeIndex.add(entryIndex)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ internal object TwiFucker {
|
|||||||
val contentItems = entry.entryGetContentItems()
|
val contentItems = entry.entryGetContentItems()
|
||||||
contentItems?.forEachIndexed inner@{ itemIndex, item ->
|
contentItems?.forEachIndexed inner@{ itemIndex, item ->
|
||||||
if (item.entryHasPromotedMetadata()) {
|
if (item.entryHasPromotedMetadata()) {
|
||||||
Log.d("revanced", "Handle timeline replies ads $entryIndex $entry")
|
Log.d("ReVanced", "Handle timeline replies ads $entryIndex $entry")
|
||||||
if (contentItems.length() == 1) {
|
if (contentItems.length() == 1) {
|
||||||
removeIndex.add(entryIndex)
|
removeIndex.add(entryIndex)
|
||||||
} else {
|
} else {
|
||||||
@ -150,7 +150,7 @@ internal object TwiFucker {
|
|||||||
forEachIndexed { entryIndex, entry ->
|
forEachIndexed { entryIndex, entry ->
|
||||||
|
|
||||||
if (entry.entryIsTweetDetailRelatedTweets()) {
|
if (entry.entryIsTweetDetailRelatedTweets()) {
|
||||||
Log.d("revanced", "Handle tweet detail related tweets $entryIndex $entry")
|
Log.d("ReVanced", "Handle tweet detail related tweets $entryIndex $entry")
|
||||||
removeIndex.add(entryIndex)
|
removeIndex.add(entryIndex)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -180,7 +180,7 @@ internal object TwiFucker {
|
|||||||
forEachIndexed { entryIndex, entry ->
|
forEachIndexed { entryIndex, entry ->
|
||||||
if (!entry.entryIsWhoToFollow()) return@forEachIndexed
|
if (!entry.entryIsWhoToFollow()) return@forEachIndexed
|
||||||
|
|
||||||
Log.d("revanced", "Handle whoToFollow $entryIndex $entry")
|
Log.d("ReVanced", "Handle whoToFollow $entryIndex $entry")
|
||||||
entryRemoveIndex.add(entryIndex)
|
entryRemoveIndex.add(entryIndex)
|
||||||
|
|
||||||
val items = entry.entryGetContentItems()
|
val items = entry.entryGetContentItems()
|
||||||
@ -188,7 +188,7 @@ internal object TwiFucker {
|
|||||||
items?.forEachIndexed { index, item ->
|
items?.forEachIndexed { index, item ->
|
||||||
item.itemContainsPromotedUser().let {
|
item.itemContainsPromotedUser().let {
|
||||||
if (it) {
|
if (it) {
|
||||||
Log.d("revanced", "Handle whoToFollow promoted user $index $item")
|
Log.d("ReVanced", "Handle whoToFollow promoted user $index $item")
|
||||||
userRemoveIndex.add(index)
|
userRemoveIndex.add(index)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user