mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 13:57:10 +09:00
DROID-1810 Editor | Fix | Trim titles for link blocks (#841)
This commit is contained in:
parent
335e9a09ce
commit
9dd320f2f6
1 changed files with 2 additions and 2 deletions
|
@ -1658,7 +1658,7 @@ class DefaultBlockViewRenderer @Inject constructor(
|
|||
ObjectIcon.None
|
||||
}
|
||||
|
||||
val name = obj.getProperObjectName()
|
||||
val name = obj.getProperObjectName()?.trim()
|
||||
|
||||
val description = when (inEditorAppearance.description) {
|
||||
InEditor.Description.NONE -> null
|
||||
|
@ -1836,7 +1836,7 @@ class DefaultBlockViewRenderer @Inject constructor(
|
|||
isEmpty = true,
|
||||
emoji = null,
|
||||
image = null,
|
||||
text = obj.getProperObjectName(),
|
||||
text = obj.getProperObjectName()?.trim(),
|
||||
indent = indent,
|
||||
isSelected = checkIfSelected(
|
||||
mode = mode,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue