Add Discussions to RoomActionsView
This commit is contained in:
parent
d1f35bb799
commit
a0eecdcaf4
|
@ -974,6 +974,24 @@ class RoomActionsView extends React.Component {
|
||||||
)
|
)
|
||||||
: null}
|
: null}
|
||||||
|
|
||||||
|
{['c', 'p'].includes(t)
|
||||||
|
? (
|
||||||
|
<>
|
||||||
|
<List.Item
|
||||||
|
title='Discussions'
|
||||||
|
onPress={() => this.onPressTouchable({
|
||||||
|
route: 'ThreadMessagesView',
|
||||||
|
params: { rid, t, name: 'Discussions' }
|
||||||
|
})}
|
||||||
|
testID='room-actions-discussions'
|
||||||
|
left={() => <List.Icon name='discussions' />}
|
||||||
|
showActionIndicator
|
||||||
|
/>
|
||||||
|
<List.Separator />
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
: null}
|
||||||
|
|
||||||
{['c', 'p', 'd'].includes(t)
|
{['c', 'p', 'd'].includes(t)
|
||||||
? (
|
? (
|
||||||
<>
|
<>
|
||||||
|
|
Loading…
Reference in New Issue