From f0909cc201a7e17f3f0ee32c38ca23d791dbb03e Mon Sep 17 00:00:00 2001
From: Greg Fodor <gfodor@gmail.com>
Date: Fri, 6 Apr 2018 10:54:23 -0700
Subject: [PATCH] Another fix

---
 src/react-components/ui-root.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/react-components/ui-root.js b/src/react-components/ui-root.js
index 662ef2bb8..5042d1b44 100644
--- a/src/react-components/ui-root.js
+++ b/src/react-components/ui-root.js
@@ -250,7 +250,7 @@ class UIRoot extends Component {
   };
 
   enterGearVR = async () => {
-    if (this.state.availableVREntryTypes.gearvr !== VR_DEVICE_AVAILABILITY.yes) {
+    if (this.state.availableVREntryTypes.gearvr === VR_DEVICE_AVAILABILITY.yes) {
       await this.performDirectEntryFlow(true);
     } else {
       this.exit();
-- 
GitLab