1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-314 Dashboard | Fix | Show untitled for an empty new object (#2511)

This commit is contained in:
Mikhail 2022-08-15 18:40:33 +03:00 committed by GitHub
parent 235bd698e3
commit cceb6bb4a7
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ class ObjectTypeHolder(
image = null,
name = item.name
)
tvTitle.text = item.name
tvTitle.text = if (item.name == "") "Untitled" else item.name
if (item.description.isNullOrBlank()) {
tvSubtitle.gone()
} else {