mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Caption editor: add keyboard interaction, disable for single img
This commit is contained in:
@@ -68,7 +68,9 @@ export class AttachmentList extends React.Component<Props> {
|
||||
width={IMAGE_WIDTH}
|
||||
url={getUrl(attachment)}
|
||||
closeButton={true}
|
||||
onClick={onClickAttachment}
|
||||
onClick={
|
||||
attachments.length > 1 ? onClickAttachment : undefined
|
||||
}
|
||||
onClickClose={onCloseAttachment}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user