summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@codeispoetry.ru>2017-03-16 16:34:32 +0000
committerAndrej Mihajlov <and@codeispoetry.ru>2017-03-16 16:34:32 +0000
commit62085e0ae04ae601fc8e2eb77a3ef7d8a22801b1 (patch)
tree6e0a39c93b7a9170d0be71b64e21eef6c3796c03
parentaae420a41c54d405e7e72aacfea043751714debc (diff)
downloadmullvadvpn-62085e0ae04ae601fc8e2eb77a3ef7d8a22801b1.tar.xz
mullvadvpn-62085e0ae04ae601fc8e2eb77a3ef7d8a22801b1.zip
Fix typo
-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;
}