mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
chore: Tackle some more compile warnings
This commit is contained in:
parent
2328fe58fa
commit
e51dce6ccd
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@ import eu.kanade.tachiyomi.util.lang.chop
|
|||
import eu.kanade.tachiyomi.util.system.notification
|
||||
import eu.kanade.tachiyomi.util.system.notificationBuilder
|
||||
import eu.kanade.tachiyomi.util.system.notificationManager
|
||||
import kotlinx.coroutines.DelicateCoroutinesApi
|
||||
import kotlinx.coroutines.GlobalScope
|
||||
import kotlinx.coroutines.launch
|
||||
import uy.kohesive.injekt.injectLazy
|
||||
|
@ -169,6 +170,7 @@ class LibraryUpdateNotifier(private val context: Context) {
|
|||
*
|
||||
* @param updates a list of manga with new updates.
|
||||
*/
|
||||
@OptIn(DelicateCoroutinesApi::class)
|
||||
fun showResultNotification(newUpdates: Map<LibraryManga, Array<Chapter>>) {
|
||||
// create a copy of the list since it will be cleared by the time it is used
|
||||
val updates = newUpdates.toMap()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue