mirror of
https://github.com/null2264/yokai.git
synced 2025-06-20 18:24:42 +00:00
fix(library): Workaround NPE when querying library by retrying once
REF: https://github.com/sqldelight/sqldelight/issues/4194#issuecomment-2417466333
This commit is contained in:
parent
31773876b4
commit
50fecd5350
1 changed files with 2 additions and 1 deletions
|
@ -812,7 +812,8 @@ class LibraryPresenter(
|
|||
private fun getLibraryFlow(): Flow<LibraryData> {
|
||||
return combine(
|
||||
getCategories.subscribe(),
|
||||
getLibraryManga.subscribe(),
|
||||
// FIXME: Remove retry once a real solution is found
|
||||
getLibraryManga.subscribe().retry(1),
|
||||
getPreferencesFlow(),
|
||||
preferences.removeArticles().changes(),
|
||||
fetchLibrary
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue