Add Discussions to RoomActionsView

This commit is contained in:
Gerzon Z 2021-07-16 12:43:08 -04:00
parent d1f35bb799
commit a0eecdcaf4
1 changed files with 18 additions and 0 deletions

View File

@ -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)
? ( ? (
<> <>