mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-348 Editor | Fix | Do not suggest "Bookmark" among "Object types" in slash widget (#2523)
This commit is contained in:
parent
e8ea904a6f
commit
d141dceb41
1 changed files with 2 additions and 2 deletions
|
@ -4253,7 +4253,7 @@ class EditorViewModel(
|
|||
controlPanelInteractor.onEvent(panelEvent)
|
||||
return
|
||||
}
|
||||
getObjectTypes() { objectTypes ->
|
||||
getObjectTypes(excluded = listOf(ObjectType.BOOKMARK_TYPE)) { objectTypes ->
|
||||
getRelations { relations ->
|
||||
val widgetState = SlashExtensions.getUpdatedSlashWidgetState(
|
||||
text = event.filter,
|
||||
|
@ -4333,7 +4333,7 @@ class EditorViewModel(
|
|||
getRelations { proceedWithRelations(it) }
|
||||
}
|
||||
is SlashItem.Main.Objects -> {
|
||||
getObjectTypes() {
|
||||
getObjectTypes(excluded = listOf(ObjectType.BOOKMARK_TYPE)) {
|
||||
proceedWithObjectTypes(it)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue