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

1
.idea/misc.xml generated
View file

@ -133,6 +133,7 @@
<entry key="../../../../../layout/compose-model-1620504162925.xml" value="0.13900501672240803" />
<entry key="../../../../../layout/compose-model-1620504542890.xml" value="0.46511627906976744" />
<entry key="../../../../../layout/compose-model-1620504644429.xml" value="0.3796844181459566" />
<entry key="../../../../../layout/compose-model-1620505978232.xml" value="0.46511627906976744" />
<entry key="app/src/main/res/drawable-v24/ic_launcher_foreground.xml" value="0.2898148148148148" />
<entry key="app/src/main/res/drawable/ic_baseline_local_library_24.xml" value="0.25462962962962965" />
<entry key="app/src/main/res/drawable/ic_google.xml" value="0.2962962962962963" />

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
)
}
}