mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
fix: finish menu redesign
This commit is contained in:
parent
542c704b64
commit
75ce27e602
3 changed files with 5 additions and 7 deletions
|
@ -327,7 +327,7 @@
|
|||
"ByUsingThisService...": "By using this service, you agree to our <a href=\"https://getsession.org/terms-of-service \">Terms of Service</a> and <a href=\"https://getsession.org/privacy-policy\" target=\"_blank\">Privacy Policy</a>",
|
||||
"beginYourSession": "Begin your Session.",
|
||||
"welcomeToYourSession": "Welcome to your Session",
|
||||
"searchFor...": "Search for messages or conversations",
|
||||
"searchFor...": "Search conversations and contacts",
|
||||
"searchForContactsOnly": "Search for contacts",
|
||||
"enterSessionID": "Enter Session ID",
|
||||
"enterSessionIDOfRecipient": "Enter your contact's Session ID or ONS",
|
||||
|
|
|
@ -80,11 +80,9 @@ export const OverlayClosedGroup = () => {
|
|||
let sharedWithResults: Array<string> = [];
|
||||
|
||||
if (searchResults && searchResults.contactsAndGroups.length) {
|
||||
const privateSearchResults = searchResults.contactsAndGroups.filter(convo => convo.isPrivate);
|
||||
|
||||
sharedWithResults = privateContactsPubkeys.filter(m =>
|
||||
privateSearchResults.find(convo => convo.id === m)
|
||||
);
|
||||
sharedWithResults = searchResults.contactsAndGroups
|
||||
.filter(convo => convo.isPrivate)
|
||||
.map(convo => convo.id);
|
||||
}
|
||||
const contactsToRender = isSearch ? sharedWithResults : privateContactsPubkeys;
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@ export const OverlayCommunity = () => {
|
|||
<SessionJoinableRooms onRoomClicked={closeOverlay} />
|
||||
{groupUrl && (
|
||||
<SessionButton
|
||||
buttonColor={SessionButtonColor.White}
|
||||
buttonColor={SessionButtonColor.Green}
|
||||
buttonType={SessionButtonType.BrandOutline}
|
||||
text={buttonText}
|
||||
onClick={onEnterPressed}
|
||||
|
|
Loading…
Reference in a new issue