[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,
|
t: item.t,
|
||||||
encrypted: item.encrypted,
|
encrypted: item.encrypted,
|
||||||
lastMessage: item.lastMessage,
|
lastMessage: item.lastMessage,
|
||||||
status: item.status
|
status: item.status,
|
||||||
|
teamMain: item.teamMain
|
||||||
})) as ISearchLocal[];
|
})) as ISearchLocal[];
|
||||||
|
|
||||||
return search;
|
return search;
|
||||||
|
|
|
@ -250,7 +250,8 @@ class ShareListView extends React.Component<IShareListViewProps, IState> {
|
||||||
prid: item.prid,
|
prid: item.prid,
|
||||||
uids: item.uids,
|
uids: item.uids,
|
||||||
usernames: item.usernames,
|
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}
|
type={item.prid ? 'discussion' : item.t}
|
||||||
onPress={() => this.shareMessage(item)}
|
onPress={() => this.shareMessage(item)}
|
||||||
testID={`share-extension-item-${item.name}`}
|
testID={`share-extension-item-${item.name}`}
|
||||||
|
teamMain={item.teamMain}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue