Skip to content

Commit 6334a90

Browse files
fix: Modify Cloudflare bypass check logic
Commented out the bypass check for Cloudflare titles.
1 parent 6744af0 commit 6334a90

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎app/src/main/java/git/shin/animevsub/ui/components/dialogs/CloudflareBypassDialog.kt‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,10 @@ fun CloudflareBypassDialog(
224224

225225
// Check if bypassed
226226
val title = view?.title
227-
if (!title.isNullOrEmpty() &&
228-
!title.contains("Just a moment", ignoreCase = true) &&
229-
!title.contains("Cloudflare", ignoreCase = true)
230-
) {
227+
// if (!title.isNullOrEmpty() &&
228+
// !title.contains("Just a moment", ignoreCase = true) &&
229+
// !title.contains("Cloudflare", ignoreCase = true)
230+
if (title.contains("Solved 0x0000", ignoreCase = true)) {
231231
onResult(url)
232232
}
233233
}

0 commit comments

Comments
 (0)