diff --git a/src/components/swipe-container.jsx b/src/components/swipe-container.jsx index d61824225..74574b0a0 100644 --- a/src/components/swipe-container.jsx +++ b/src/components/swipe-container.jsx @@ -38,9 +38,7 @@ if (process.platform === 'darwin') { if (err !== null) { return; } - if (stdout.toString().trim() === '1') { - SwipeInverted = true; - } + SwipeInverted = (stdout.toString().trim() !== '0'); }); } else if (process.platform === 'win32') { // Currently does not matter because we don't support trackpad gestures on Win.