mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-29 21:00:58 +01:00
🎨 Clarify data flow
This commit is contained in:
@@ -135,7 +135,7 @@
|
||||
case 'video': this.addThumb('images/video.svg'); break;
|
||||
case 'image':
|
||||
window.autoOrientImage(file)
|
||||
.then(this.addThumb.bind(this));
|
||||
.then(dataURL => this.addThumb(dataURL));
|
||||
break;
|
||||
default:
|
||||
this.addThumb('images/file.svg'); break;
|
||||
|
||||
Reference in New Issue
Block a user