diff options
author | Allan Wang <me@allanwang.ca> | 2021-01-11 21:38:33 -0800 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2021-01-11 21:38:33 -0800 |
commit | f30e67588c49c8e7ed9af124337f67d54a372bb9 (patch) | |
tree | 8257413d8daf234f133ec28b1a5b615a049b7638 /app/src/main/kotlin | |
parent | 520b1b98f589a890b26b067fa281b82440a7e040 (diff) | |
download | frost-f30e67588c49c8e7ed9af124337f67d54a372bb9.tar.gz frost-f30e67588c49c8e7ed9af124337f67d54a372bb9.tar.bz2 frost-f30e67588c49c8e7ed9af124337f67d54a372bb9.zip |
Show error classname if message does not exist
Diffstat (limited to 'app/src/main/kotlin')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt index 621f89e9..06626752 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt @@ -362,7 +362,7 @@ internal enum class FabStates( ?: return activity.materialDialog { title(R.string.kau_error) - message(text = err.message) + message(text = err.message ?: err.javaClass.name) } } }, |