mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Remove unnecessary parenthesis.
This commit is contained in:
+1
-2
@@ -82,8 +82,7 @@ class ActionListPresenter @Inject constructor(
|
|||||||
target: MutableState<ActionListState.Target>
|
target: MutableState<ActionListState.Target>
|
||||||
) = launch {
|
) = launch {
|
||||||
target.value = ActionListState.Target.Loading(timelineItem)
|
target.value = ActionListState.Target.Loading(timelineItem)
|
||||||
val canRedact = (timelineItem.isMine && userCanRedactOwn) ||
|
val canRedact = timelineItem.isMine && userCanRedactOwn || !timelineItem.isMine && userCanRedactOther
|
||||||
(!timelineItem.isMine && userCanRedactOther)
|
|
||||||
val actions =
|
val actions =
|
||||||
when (timelineItem.content) {
|
when (timelineItem.content) {
|
||||||
is TimelineItemRedactedContent -> {
|
is TimelineItemRedactedContent -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user