From cdb1a96664200fce5b77a4c69ccd0d9d0e9dfb2a Mon Sep 17 00:00:00 2001 From: Maxime Naturel Date: Thu, 24 Feb 2022 15:41:23 +0100 Subject: [PATCH] Removing TODOs --- .../home/room/detail/timeline/action/MessageActionsViewModel.kt | 2 -- 1 file changed, 2 deletions(-) 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 6acaedfd3c..8ca3fca9b9 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 @@ -554,7 +554,6 @@ class MessageActionsViewModel @AssistedInject constructor(@Assisted } } - // TODO need to add this check into media viewer? private fun canShare(msgType: String?): Boolean { return when (msgType) { MessageType.MSGTYPE_TEXT, @@ -569,7 +568,6 @@ class MessageActionsViewModel @AssistedInject constructor(@Assisted } } - // TODO need to add this into Viewer screen to check if it is saveable? => create extension on MessageType or useCase? private fun canSave(msgType: String?): Boolean { return when (msgType) { MessageType.MSGTYPE_IMAGE,