fix(library): Only retry if it's NPE

This commit is contained in:
Ahmad Ansori Palembani 2024-12-03 17:09:47 +07:00
parent ca982d93d1
commit 11ef447321
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -814,7 +814,7 @@ class LibraryPresenter(
return combine( return combine(
getCategories.subscribe(), getCategories.subscribe(),
// FIXME: Remove retry once a real solution is found // FIXME: Remove retry once a real solution is found
getLibraryManga.subscribe().retry(1), getLibraryManga.subscribe().retry(1) { e -> e is NullPointerException },
getPreferencesFlow(), getPreferencesFlow(),
preferences.removeArticles().changes(), preferences.removeArticles().changes(),
fetchLibrary fetchLibrary