diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/MessageActionsViewModel.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/MessageActionsViewModel.kt index 8ca3fca9b9..ea802554d2 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/MessageActionsViewModel.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/MessageActionsViewModel.kt @@ -252,6 +252,7 @@ class MessageActionsViewModel @AssistedInject constructor(@Assisted return arrayListOf().apply { // TODO need to check all possible items and confirm order changes to apply + // reorder actions according to issue requirements: check if same order in Web when { timelineEvent.root.sendState.hasFailed() -> { addActionsForFailedState(timelineEvent, actionPermissions, messageContent, msgType) diff --git a/vector/src/main/java/im/vector/app/features/media/VectorAttachmentViewerActivity.kt b/vector/src/main/java/im/vector/app/features/media/VectorAttachmentViewerActivity.kt index 7f9037e31e..72089d0f39 100644 --- a/vector/src/main/java/im/vector/app/features/media/VectorAttachmentViewerActivity.kt +++ b/vector/src/main/java/im/vector/app/features/media/VectorAttachmentViewerActivity.kt @@ -315,9 +315,6 @@ class VectorAttachmentViewerActivity : AttachmentViewerActivity(), AttachmentInt } override fun onDownload() { - // TODO - // reorder action for a message according to issue requirements - // add unit tests for usecase? what is the used mock library? lifecycleScope.launch(Dispatchers.IO) { val hasWritePermission = withContext(Dispatchers.Main) { hasWritePermission()