Change the wording to "Retry" when page fails to load. (#9701)

This commit is contained in:
AntsyLich 2023-07-11 19:15:38 +06:00 committed by GitHub
parent 48f7a2de41
commit 3bd2cad45f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ fun BrowseSourceContent(
if (mangaList.itemCount > 0 && errorState != null && errorState is LoadState.Error) { if (mangaList.itemCount > 0 && errorState != null && errorState is LoadState.Error) {
val result = snackbarHostState.showSnackbar( val result = snackbarHostState.showSnackbar(
message = getErrorMessage(errorState), message = getErrorMessage(errorState),
actionLabel = context.getString(R.string.action_webview_refresh), actionLabel = context.getString(R.string.action_retry),
duration = SnackbarDuration.Indefinite, duration = SnackbarDuration.Indefinite,
) )
when (result) { when (result) {