mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3599 Widgets | Fix | Note snippet is missing from widget elements (#2352)
This commit is contained in:
parent
54f9118edc
commit
680abc966e
1 changed files with 2 additions and 2 deletions
|
@ -199,8 +199,8 @@ class FieldParserImpl @Inject constructor(
|
|||
}
|
||||
|
||||
override fun getObjectPluralName(objectWrapper: ObjectWrapper.Basic): String {
|
||||
val name = objectWrapper.pluralName?.takeIf { it.isNotEmpty() } ?: objectWrapper.name
|
||||
return if (name.isNullOrBlank()) {
|
||||
val name = objectWrapper.pluralName?.takeIf { it.isNotEmpty() } ?: getObjectName(objectWrapper)
|
||||
return if (name.isEmpty()) {
|
||||
stringResourceProvider.getUntitledObjectTitle()
|
||||
} else {
|
||||
name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue