mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44: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> {
|
private fun getLibraryFlow(): Flow<LibraryData> {
|
||||||
return combine(
|
return combine(
|
||||||
getCategories.subscribe(),
|
getCategories.subscribe(),
|
||||||
getLibraryManga.subscribe(),
|
// FIXME: Remove retry once a real solution is found
|
||||||
|
getLibraryManga.subscribe().retry(1),
|
||||||
getPreferencesFlow(),
|
getPreferencesFlow(),
|
||||||
preferences.removeArticles().changes(),
|
preferences.removeArticles().changes(),
|
||||||
fetchLibrary
|
fetchLibrary
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue