Handle offline mode in history list

This commit is contained in:
Koitharu
2023-08-15 17:02:33 +03:00
parent 6fa99791b6
commit 20a7e5a6a8
14 changed files with 92 additions and 37 deletions

View File

@@ -129,6 +129,7 @@ class LocalMangaRepository @Inject constructor(
}
suspend fun findSavedManga(remoteManga: Manga): LocalManga? {
// TODO fast path by name
val files = getAllFiles()
return channelFlow {
for (file in files) {