Updating TODOs
This commit is contained in:
parent
4260d2f155
commit
a583db43c4
@ -252,6 +252,7 @@ class MessageActionsViewModel @AssistedInject constructor(@Assisted
|
|||||||
|
|
||||||
return arrayListOf<EventSharedAction>().apply {
|
return arrayListOf<EventSharedAction>().apply {
|
||||||
// TODO need to check all possible items and confirm order changes to 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 {
|
when {
|
||||||
timelineEvent.root.sendState.hasFailed() -> {
|
timelineEvent.root.sendState.hasFailed() -> {
|
||||||
addActionsForFailedState(timelineEvent, actionPermissions, messageContent, msgType)
|
addActionsForFailedState(timelineEvent, actionPermissions, messageContent, msgType)
|
||||||
|
@ -315,9 +315,6 @@ class VectorAttachmentViewerActivity : AttachmentViewerActivity(), AttachmentInt
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun onDownload() {
|
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) {
|
lifecycleScope.launch(Dispatchers.IO) {
|
||||||
val hasWritePermission = withContext(Dispatchers.Main) {
|
val hasWritePermission = withContext(Dispatchers.Main) {
|
||||||
hasWritePermission()
|
hasWritePermission()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user