add back Copy Session ID but show it only for user context click

pull/1339/head
Audric Ackermann 5 years ago
parent 56a81ccc93
commit cd1a940719
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -1072,6 +1072,11 @@
"description": "Copy to clipboard button text",
"androidKey": "copy"
},
"copySessionID": {
"message": "Copy Session ID",
"description": "Copy to clipboard session ID",
"androidKey": "activity_conversation_menu_copy_session_id"
},
"save": {
"message": "Save",
"description": "Used as a 'commit changes' button in the Caption Editor for outgoing image attachments",

@ -212,7 +212,7 @@ export function getCopyMenuItem(
i18n: LocalizerType
): JSX.Element | null {
if (showCopyId(Boolean(isPublic), Boolean(isRss), Boolean(isGroup))) {
const copyIdLabel = i18n('editMenuCopy');
const copyIdLabel = i18n('copySessionID');
return <MenuItem onClick={action}>{copyIdLabel}</MenuItem>;
}
return null;

Loading…
Cancel
Save