Fix formatting
This commit is contained in:
parent
6eafa3c43d
commit
3fa9d7a1d4
|
@ -73,7 +73,7 @@ class MessageMenuViewModel(initialState: MessageMenuState) : VectorViewModel<Mes
|
|||
this.add(SimpleAction(ACTION_COPY, R.string.copy, R.drawable.ic_copy, messageContent.body))
|
||||
}
|
||||
|
||||
if(canRedact(event, currentSession.sessionParams.credentials.userId)) {
|
||||
if (canRedact(event, currentSession.sessionParams.credentials.userId)) {
|
||||
this.add(SimpleAction(ACTION_DELETE, R.string.delete, R.drawable.ic_material_delete, event.root.eventId))
|
||||
}
|
||||
|
||||
|
@ -174,8 +174,6 @@ class MessageMenuViewModel(initialState: MessageMenuState) : VectorViewModel<Mes
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private fun canShare(type: String): Boolean {
|
||||
return when (type) {
|
||||
MessageType.MSGTYPE_IMAGE,
|
||||
|
|
Loading…
Reference in New Issue