mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Keyboard shortcuts and accessibility
This commit is contained in:
@@ -50,8 +50,7 @@ export class AttachmentList extends React.Component<Props> {
|
||||
<div className="module-attachments">
|
||||
{attachments.length > 1 ? (
|
||||
<div className="module-attachments__header">
|
||||
<div
|
||||
role="button"
|
||||
<button
|
||||
onClick={onClose}
|
||||
className="module-attachments__close-button"
|
||||
/>
|
||||
@@ -105,7 +104,10 @@ export class AttachmentList extends React.Component<Props> {
|
||||
);
|
||||
})}
|
||||
{allVisualAttachments ? (
|
||||
<StagedPlaceholderAttachment onClick={onAddAttachment} />
|
||||
<StagedPlaceholderAttachment
|
||||
onClick={onAddAttachment}
|
||||
i18n={i18n}
|
||||
/>
|
||||
) : null}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user