Change the wording to "Retry" when page fails to load. (#9701)
This commit is contained in:
parent
48f7a2de41
commit
3bd2cad45f
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user