summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--app/lib/tray-animator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/tray-animator.js b/app/lib/tray-animator.js
index 0245a6eca1..d4fd0b79c5 100644
--- a/app/lib/tray-animator.js
+++ b/app/lib/tray-animator.js
@@ -68,7 +68,7 @@ export class TrayAnimation {
this._source = images.slice();
this._nativeImages = images.map((pathOrNativeImage) => {
if(typeof(pathOrNativeImage) === 'string') {
- return nativeImage.createFromPath(path);
+ return nativeImage.createFromPath(pathOrNativeImage);
} else if(typeof(pathOrNativeImage) === 'NativeImage') {
return pathOrNativeImage;
}