mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-10 10:00:44 +09:00
DROID-916 Editor | Fix | Relation status disappears (#2897)
This commit is contained in:
parent
bcd93c78b6
commit
3a5c484953
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ object StatusParser {
|
|||
fun parse(value: Any?): Id? {
|
||||
val result: Id? = when (value) {
|
||||
is Id -> value
|
||||
is List<*> -> value.firstOrNull().toString()
|
||||
is List<*> -> value.typeOf<Id>().firstOrNull()
|
||||
else -> null
|
||||
}
|
||||
return result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue