mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Save attachments with macOS quarantine attribute
* Attachments: Always save file to downloads directory, show toast * Add new build:dev command for casual builds
This commit is contained in:
committed by
Ken Powers
parent
65befde0fa
commit
1bf9ca7233
@@ -11,6 +11,7 @@
|
||||
templateName: 'toast',
|
||||
initialize() {
|
||||
this.$el.hide();
|
||||
this.timeout = 2000;
|
||||
},
|
||||
|
||||
close() {
|
||||
@@ -24,8 +25,9 @@
|
||||
_.result(this, 'render_attributes', '')
|
||||
)
|
||||
);
|
||||
this.$el.attr('tabIndex', 0);
|
||||
this.$el.show();
|
||||
setTimeout(this.close.bind(this), 2000);
|
||||
setTimeout(this.close.bind(this), this.timeout);
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user