From 8c877cdcfbcf7b6c337616a4ff1204898219f787 Mon Sep 17 00:00:00 2001 From: konstantiniiv Date: Tue, 24 Dec 2024 14:30:09 +0100 Subject: [PATCH] DROID-2898 fix action --- .../anytype/presentation/objects/menu/ObjectMenuViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presentation/src/main/java/com/anytypeio/anytype/presentation/objects/menu/ObjectMenuViewModel.kt b/presentation/src/main/java/com/anytypeio/anytype/presentation/objects/menu/ObjectMenuViewModel.kt index 6daefd7338..ab141ac589 100644 --- a/presentation/src/main/java/com/anytypeio/anytype/presentation/objects/menu/ObjectMenuViewModel.kt +++ b/presentation/src/main/java/com/anytypeio/anytype/presentation/objects/menu/ObjectMenuViewModel.kt @@ -172,7 +172,7 @@ class ObjectMenuViewModel( if (layout in fileLayouts) { clear() - add(ObjectAction.MOVE_TO_BIN) + add(ObjectAction.DELETE) add(ObjectAction.DOWNLOAD_FILE) if (isFavorite) { add(ObjectAction.REMOVE_FROM_FAVOURITE)