You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/actionlist/ActionListPresenter.kt
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -145,7 +145,6 @@ private fun buildActions(
145
145
if (canRedact && timelineItem.content isTimelineItemPollContent&&!timelineItem.content.isEnded) {
146
146
add(TimelineItemAction.EndPoll)
147
147
}
148
-
// TODO: handle unpin
149
148
val canPinUnpin = isPinnedEventsEnabled && usersEventPermissions.canPinUnpin && timelineItem.isRemote
Copy file name to clipboardExpand all lines: features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/actionlist/model/TimelineItemAction.kt
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ sealed class TimelineItemAction(
40
40
data objectReportContent : TimelineItemAction(CommonStrings.action_report_content, CompoundDrawables.ic_compound_chat_problem, destructive = true)
41
41
data objectEndPoll : TimelineItemAction(CommonStrings.action_end_poll, CompoundDrawables.ic_compound_polls_end)
42
42
data objectPin : TimelineItemAction(CommonStrings.action_pin, CompoundDrawables.ic_compound_pin)
43
-
//TODO use the Unpin compound icon when available.
43
+
44
+
// TODO use the Unpin compound icon when available.
44
45
data objectUnpin : TimelineItemAction(CommonStrings.action_unpin, CompoundDrawables.ic_compound_pin)
Copy file name to clipboardExpand all lines: features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/model/TimelineItem.kt
0 commit comments