change error card message

This commit is contained in:
Thomas Andres Gomez 2021-05-08 22:34:21 +02:00
parent 24ec682e34
commit a8a0caf3dc
2 changed files with 2 additions and 1 deletions

View file

@ -58,7 +58,7 @@ fun ErrorCard(
.align(Alignment.CenterHorizontally),
style = typography.caption,
textAlign = TextAlign.Center,
text = exception::class.java.simpleName
text = exception.message ?: exception::class.java.simpleName
)
}
}