From 1db90f918778611344b99d7faf6ab98d0bda8c48 Mon Sep 17 00:00:00 2001
From: Lorenzo Blasa
Date: Thu, 21 Sep 2023 05:10:57 -0700
Subject: [PATCH] Fix bug preventing display of PWA wizard
Summary: ^
Reviewed By: LukeDefeo
Differential Revision: D49496590
fbshipit-source-id: 912be66e3c6c7ef5aaf356815a43439c43d78b24
---
.../src/chrome/PWAppInstallationWizard.tsx | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/desktop/flipper-ui-core/src/chrome/PWAppInstallationWizard.tsx b/desktop/flipper-ui-core/src/chrome/PWAppInstallationWizard.tsx
index b13e2c5b2..34cb02002 100644
--- a/desktop/flipper-ui-core/src/chrome/PWAppInstallationWizard.tsx
+++ b/desktop/flipper-ui-core/src/chrome/PWAppInstallationWizard.tsx
@@ -67,7 +67,7 @@ export function shouldShowPWAInstallationWizard(): boolean {
try {
neverAskAgain = window.localStorage.getItem(neverAskAgainKey);
} catch (e) {}
- if (neverAskAgain !== undefined) {
+ if (neverAskAgain !== undefined && neverAskAgain !== null) {
return false;
}
@@ -167,6 +167,17 @@ export default function PWAInstallationWizard(props: Props) {
be found at the right-side of the search bar next to the bookmarks
icon.{' '}
+ {getFlipperLib().isFB && (
+
+ Installation instructions can also be found{' '}
+
+ here
+
+ .
+
+ )}
);