Removing TODOs

This commit is contained in:
Maxime Naturel 2022-02-24 15:41:23 +01:00
parent 73ac3f3fda
commit cdb1a96664
1 changed files with 0 additions and 2 deletions

View File

@ -554,7 +554,6 @@ class MessageActionsViewModel @AssistedInject constructor(@Assisted
} }
} }
// TODO need to add this check into media viewer?
private fun canShare(msgType: String?): Boolean { private fun canShare(msgType: String?): Boolean {
return when (msgType) { return when (msgType) {
MessageType.MSGTYPE_TEXT, 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 { private fun canSave(msgType: String?): Boolean {
return when (msgType) { return when (msgType) {
MessageType.MSGTYPE_IMAGE, MessageType.MSGTYPE_IMAGE,