Updated on 2026-08-14

This commit is contained in:
Tangem 2026-01-18 17:39:48 +03:00
parent 2cfd260e31
commit 19bdc77d9f
4 changed files with 33 additions and 3 deletions

View file

@ -75,9 +75,14 @@ internal class FeeSelectorLogic @AssistedInject constructor(
}
private fun loadFee() {
if (uiState.value is FeeSelectorUM.Error) {
return
}
if (uiState.value !is FeeSelectorUM.Content) {
uiState.update(FeeSelectorLoadingTransformer)
}
modelScope.launch {
callLoadFee()
.fold(

View file

@ -61,6 +61,10 @@ internal fun FeeSelectorBlockContent(
onReadMoreClick: () -> Unit,
modifier: Modifier = Modifier,
) {
if (state is FeeSelectorUM.Error && state.isHidden) {
return
}
Row(
modifier = modifier
.background(TangemTheme.colors.background.action)