From 14a085bf6b772caa47f099077cb34ae1cb65e126 Mon Sep 17 00:00:00 2001 From: funkyhippo <52957110+funkyhippo@users.noreply.github.com> Date: Fri, 21 Aug 2020 00:13:30 -0700 Subject: [PATCH] Fix guya URL activity. (#4176) --- src/en/guya/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/en/guya/GuyaUrlActivity.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/en/guya/build.gradle b/src/en/guya/build.gradle index 2b3f57caf..e8b7fa8be 100644 --- a/src/en/guya/build.gradle +++ b/src/en/guya/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Guya' pkgNameSuffix = "en.guya" extClass = '.Guya' - extVersionCode = 11 + extVersionCode = 12 libVersion = '1.2' } diff --git a/src/en/guya/src/eu/kanade/tachiyomi/extension/en/guya/GuyaUrlActivity.kt b/src/en/guya/src/eu/kanade/tachiyomi/extension/en/guya/GuyaUrlActivity.kt index 8b6518f38..b2255567f 100644 --- a/src/en/guya/src/eu/kanade/tachiyomi/extension/en/guya/GuyaUrlActivity.kt +++ b/src/en/guya/src/eu/kanade/tachiyomi/extension/en/guya/GuyaUrlActivity.kt @@ -18,7 +18,7 @@ class GuyaUrlActivity : Activity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) val pathSegments = intent?.data?.pathSegments - if (pathSegments != null && pathSegments.size == 3) { + if (pathSegments != null && pathSegments.size >= 3) { val slug = pathSegments[2] // Gotta do it like this since slug title != actual title