mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3212 Editor | Fix | Mention create object item doesn't update (#1959)
This commit is contained in:
parent
d60d0b7c48
commit
e8c40489b7
2 changed files with 4 additions and 1 deletions
|
@ -28,6 +28,10 @@ class MentionAdapter(
|
|||
|
||||
fun updateFilter(filter: String) {
|
||||
mentionFilter = filter
|
||||
val newPagePosition = currentList.indexOfFirst { it is NewObject }
|
||||
if (newPagePosition != -1) {
|
||||
notifyItemChanged(newPagePosition)
|
||||
}
|
||||
}
|
||||
|
||||
fun clear() {
|
||||
|
|
|
@ -1503,7 +1503,6 @@ class DefaultBlockViewRenderer @Inject constructor(
|
|||
)
|
||||
}
|
||||
ObjectType.Layout.FILE,
|
||||
ObjectType.Layout.BOOKMARK,
|
||||
ObjectType.Layout.VIDEO,
|
||||
ObjectType.Layout.AUDIO,
|
||||
ObjectType.Layout.PDF -> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue