Prechádzať zdrojové kódy

Actually retry when a page fails to load in Browse screen (#9700)

AntsyLich 1 rok pred
rodič
commit
48f7a2de41

+ 1 - 1
app/src/main/java/eu/kanade/presentation/browse/BrowseSourceScreen.kt

@@ -66,7 +66,7 @@ fun BrowseSourceContent(
             )
             when (result) {
                 SnackbarResult.Dismissed -> snackbarHostState.currentSnackbarData?.dismiss()
-                SnackbarResult.ActionPerformed -> mangaList.refresh()
+                SnackbarResult.ActionPerformed -> mangaList.retry()
             }
         }
     }