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>
|
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 -> {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue