From 16293155e0f17a3406e2c60f090257df861b9c59 Mon Sep 17 00:00:00 2001 From: Mikhail Date: Mon, 17 Oct 2022 11:25:20 +0300 Subject: [PATCH] DROID-540 Editor | Fix | Do not show message after link to from the slash menu (#2656) --- .../anytypeio/anytype/presentation/editor/EditorViewModel.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/presentation/src/main/java/com/anytypeio/anytype/presentation/editor/EditorViewModel.kt b/presentation/src/main/java/com/anytypeio/anytype/presentation/editor/EditorViewModel.kt index 1972f2e484..655ac61364 100644 --- a/presentation/src/main/java/com/anytypeio/anytype/presentation/editor/EditorViewModel.kt +++ b/presentation/src/main/java/com/anytypeio/anytype/presentation/editor/EditorViewModel.kt @@ -5089,9 +5089,7 @@ class EditorViewModel( Prototype.Bookmark.Existing(target = link) else Prototype.Link(target = link), - onSuccess = { - dispatch(Command.OpenObjectSnackbar(id = link, text, icon, isSet)) - } + onSuccess = {} ) ) }