Updating TODOs

This commit is contained in:
Maxime Naturel 2022-02-24 17:04:13 +01:00
parent 4260d2f155
commit a583db43c4
2 changed files with 1 additions and 3 deletions

View file

@ -252,6 +252,7 @@ class MessageActionsViewModel @AssistedInject constructor(@Assisted
return arrayListOf<EventSharedAction>().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)

View file

@ -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()