Updated on 2026-08-14
This commit is contained in:
parent
f7f2ab7f88
commit
0b037f2b2d
26 changed files with 385 additions and 80 deletions
|
|
@ -553,7 +553,7 @@ internal class StateBuilder(
|
|||
resourceReference(R.string.warning_express_refresh_required_title)
|
||||
},
|
||||
subtitle = if (dataError is DataError.UnknownError) {
|
||||
resourceReference(R.string.swapping_generic_error)
|
||||
resourceReference(R.string.common_unknown_error)
|
||||
} else {
|
||||
resourceReference(R.string.generic_error_code, wrappedList(dataError.code.toString()))
|
||||
},
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ internal fun SwapScreenContent(state: SwapStateHolder, modifier: Modifier = Modi
|
|||
val message = if (state.alert.type == GenericWarningType.NETWORK) {
|
||||
stringResource(id = R.string.disclaimer_error_loading)
|
||||
} else {
|
||||
state.alert.message?.resolveReference() ?: stringResource(id = R.string.swapping_generic_error)
|
||||
state.alert.message?.resolveReference() ?: stringResource(id = R.string.common_unknown_error)
|
||||
}
|
||||
SimpleOkDialog(
|
||||
message = message,
|
||||
|
|
@ -338,7 +338,7 @@ private fun SwapWarnings(warnings: List<SwapWarning>) {
|
|||
} else {
|
||||
it.resolveReference()
|
||||
}
|
||||
} ?: stringResource(id = R.string.swapping_generic_error)
|
||||
} ?: stringResource(id = R.string.common_unknown_error)
|
||||
RefreshableWaringCard(
|
||||
title = stringResource(id = R.string.common_warning),
|
||||
description = message,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue