mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-27 13:40:47 +00:00
Wire up attachment saving
This commit is contained in:
@@ -7,7 +7,7 @@ import classNames from 'classnames';
|
||||
|
||||
interface Props {
|
||||
imageURL?: string;
|
||||
onClose: () => void;
|
||||
save: () => void;
|
||||
close: () => void;
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ export class Lightbox extends React.Component<Props, {}> {
|
||||
</div>
|
||||
<div style={styles.controls}>
|
||||
<IconButton type="close" onClick={this.props.close} />
|
||||
<IconButton type="save" />
|
||||
<IconButton type="save" onClick={this.props.save} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user