This commit is contained in:
kunfei committed 2023-03-20 10:27:55 +08:00
1 parent bdcee61a3a
commit 2e7fa31574
1 file changed
+2 -2
@@ -283,8 +283,8 @@ class AnalyzeUrl(
return it.title return it.title
} }
} }
return chapter?.getVariable(key) return chapter?.getVariable(key)?.takeIf { it.isNotEmpty() }
?: ruleData?.getVariable(key) ?: ruleData?.getVariable(key)?.takeIf { it.isNotEmpty() }
?: "" ?: ""
} }