Remove unnecessary parenthesis.
This commit is contained in:
parent
addc8e3161
commit
b3accdaa78
1 changed files with 1 additions and 2 deletions
|
|
@ -82,8 +82,7 @@ class ActionListPresenter @Inject constructor(
|
|||
target: MutableState<ActionListState.Target>
|
||||
) = launch {
|
||||
target.value = ActionListState.Target.Loading(timelineItem)
|
||||
val canRedact = (timelineItem.isMine && userCanRedactOwn) ||
|
||||
(!timelineItem.isMine && userCanRedactOther)
|
||||
val canRedact = timelineItem.isMine && userCanRedactOwn || !timelineItem.isMine && userCanRedactOther
|
||||
val actions =
|
||||
when (timelineItem.content) {
|
||||
is TimelineItemRedactedContent -> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue