diff --git a/app/src/main/java/io/legado/app/help/SourceHelp.kt b/app/src/main/java/io/legado/app/help/SourceHelp.kt index db3020824..4cd1ca831 100644 --- a/app/src/main/java/io/legado/app/help/SourceHelp.kt +++ b/app/src/main/java/io/legado/app/help/SourceHelp.kt @@ -13,9 +13,10 @@ object SourceHelp { private val handler = Handler(Looper.getMainLooper()) private val list18Plus by lazy { try { - String(App.INSTANCE.assets.open("18PlusList.txt").readBytes()).splitNotBlank("\n") + return@lazy String(App.INSTANCE.assets.open("18PlusList.txt").readBytes()) + .splitNotBlank("\n") } catch (e: Exception) { - arrayOf() + return@lazy arrayOf() } }