Update AnimeOwl.kt

This commit is contained in:
Arkai1 2025-03-05 11:17:19 +05:30 committed by GitHub
parent 19873c9401
commit 989358fe1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,8 +44,11 @@ class AnimeOwl : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
override val supportsLatest = true
private val json: Json by injectLazy()
private val json: Json by lazy {
Json {
ignoreUnknownKeys = true
coerceInputValues = true
}
private val preferences: SharedPreferences by lazy {
Injekt.get<Application>().getSharedPreferences("source_$id", 0x0000)
}