mirror of
https://github.com/mihonapp/mihon.git
synced 2025-07-02 05:57:50 +02:00
Various fixes to search presets
This commit is contained in:
@ -18,7 +18,6 @@ const val PERV_EDEN_IT_SOURCE_ID = LEWD_SOURCE_SERIES + 6
|
||||
|
||||
const val NHENTAI_SOURCE_ID = LEWD_SOURCE_SERIES + 7
|
||||
|
||||
@Deprecated("Now a delegated source")
|
||||
val HENTAI_CAFE_SOURCE_ID = SourceManager.DELEGATED_SOURCES.entries.find {
|
||||
it.value.newSourceClass == HentaiCafe::class
|
||||
}!!.value.sourceId
|
||||
|
@ -34,5 +34,5 @@ object DebugFunctions {
|
||||
it.favorite && db.getSearchMetadataForManga(it.id!!).executeAsBlocking() == null
|
||||
}
|
||||
|
||||
fun clearSavedSearches() = prefs.eh_savedSearches().set("")
|
||||
fun clearSavedSearches() = prefs.eh_savedSearches().set(emptySet())
|
||||
}
|
Reference in New Issue
Block a user