From e6eef8d50430e8c4fc35705e524c61aa987d50fe Mon Sep 17 00:00:00 2001 From: "E. Kozlov" Date: Mon, 2 Aug 2021 15:04:37 +0300 Subject: [PATCH] updated change log --- CHANGELOG.md | 6 ++++++ .../anytype/presentation/relations/ObjectSetRenderMapper.kt | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d0534aea69..045c0ea0f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change log for Android @Anytype app. +## Version 0.2.3 (WIP) + +### Fixes & tech 🚒 + +* Data View | Icon is not synced correctly with other peers (#) + ## Version 0.2.2 ### Fixes & tech 🚒 diff --git a/presentation/src/main/java/com/anytypeio/anytype/presentation/relations/ObjectSetRenderMapper.kt b/presentation/src/main/java/com/anytypeio/anytype/presentation/relations/ObjectSetRenderMapper.kt index f1c21e359b..322590772b 100644 --- a/presentation/src/main/java/com/anytypeio/anytype/presentation/relations/ObjectSetRenderMapper.kt +++ b/presentation/src/main/java/com/anytypeio/anytype/presentation/relations/ObjectSetRenderMapper.kt @@ -106,7 +106,10 @@ fun ObjectSet.title( text = title.content().text, emoji = details[ctx]?.iconEmoji, image = details[ctx]?.iconImage?.let { hash -> - urlBuilder.thumbnail(hash = hash) + if (hash.isNotEmpty()) + urlBuilder.thumbnail(hash = hash) + else + null } ) }