[FIX] Team icons on Share View and searching on RoomsListView (#4833)
* [FIX] Team icons on Share View * fix the teams when searching
This commit is contained in:
parent
4de7c83e80
commit
21e4818af7
|
@ -38,7 +38,8 @@ export const localSearchSubscription = async ({ text = '', filterUsers = true, f
|
|||
t: item.t,
|
||||
encrypted: item.encrypted,
|
||||
lastMessage: item.lastMessage,
|
||||
status: item.status
|
||||
status: item.status,
|
||||
teamMain: item.teamMain
|
||||
})) as ISearchLocal[];
|
||||
|
||||
return search;
|
||||
|
|
|
@ -250,7 +250,8 @@ class ShareListView extends React.Component<IShareListViewProps, IState> {
|
|||
prid: item.prid,
|
||||
uids: item.uids,
|
||||
usernames: item.usernames,
|
||||
topic: item.topic
|
||||
topic: item.topic,
|
||||
teamMain: item.teamMain
|
||||
}));
|
||||
};
|
||||
|
||||
|
@ -380,6 +381,7 @@ class ShareListView extends React.Component<IShareListViewProps, IState> {
|
|||
type={item.prid ? 'discussion' : item.t}
|
||||
onPress={() => this.shareMessage(item)}
|
||||
testID={`share-extension-item-${item.name}`}
|
||||
teamMain={item.teamMain}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue