change error card message
This commit is contained in:
parent
24ec682e34
commit
a8a0caf3dc
2 changed files with 2 additions and 1 deletions
1
.idea/misc.xml
generated
1
.idea/misc.xml
generated
|
|
@ -133,6 +133,7 @@
|
||||||
<entry key="../../../../../layout/compose-model-1620504162925.xml" value="0.13900501672240803" />
|
<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-1620504542890.xml" value="0.46511627906976744" />
|
||||||
<entry key="../../../../../layout/compose-model-1620504644429.xml" value="0.3796844181459566" />
|
<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-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_baseline_local_library_24.xml" value="0.25462962962962965" />
|
||||||
<entry key="app/src/main/res/drawable/ic_google.xml" value="0.2962962962962963" />
|
<entry key="app/src/main/res/drawable/ic_google.xml" value="0.2962962962962963" />
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ fun ErrorCard(
|
||||||
.align(Alignment.CenterHorizontally),
|
.align(Alignment.CenterHorizontally),
|
||||||
style = typography.caption,
|
style = typography.caption,
|
||||||
textAlign = TextAlign.Center,
|
textAlign = TextAlign.Center,
|
||||||
text = exception::class.java.simpleName
|
text = exception.message ?: exception::class.java.simpleName
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue