Skip to content
Snippets Groups Projects
Verified Commit dd67ed45 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixes crash cluster 8f4e737f

parent f1b0585c
Branches
Tags 1.5.4
No related merge requests found
...@@ -118,7 +118,7 @@ class CoreInfoFragment : ServiceBoundFragment() { ...@@ -118,7 +118,7 @@ class CoreInfoFragment : ServiceBoundFragment() {
val features = it?.second?.second val features = it?.second?.second
?: QuasselFeatures.empty() ?: QuasselFeatures.empty()
version.text = data?.quasselVersion.let(Html::fromHtml) version.text = data?.quasselVersion?.let(Html::fromHtml)
val versionTime = data?.quasselBuildDate?.toLongOrNull() val versionTime = data?.quasselBuildDate?.toLongOrNull()
val formattedVersionTime = if (versionTime != null) val formattedVersionTime = if (versionTime != null)
dateFormatter.format(Instant.ofEpochSecond(versionTime).atZone(ZoneId.systemDefault())) dateFormatter.format(Instant.ofEpochSecond(versionTime).atZone(ZoneId.systemDefault()))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment