Fix bug preventing display of PWA wizard

Summary: ^

Reviewed By: LukeDefeo

Differential Revision: D49496590

fbshipit-source-id: 912be66e3c6c7ef5aaf356815a43439c43d78b24
This commit is contained in:
Lorenzo Blasa
2023-09-21 05:10:57 -07:00
committed by Facebook GitHub Bot
parent 3b8e03e94d
commit 1db90f9187

View File

@@ -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.{' '}
</p>
{getFlipperLib().isFB && (
<p>
Installation instructions can also be found{' '}
<a
target="_blank"
href="https://fb.workplace.com/groups/flipperfyi/permalink/1485547228878234/">
here
</a>
.
</p>
)}
</Layout.Container>
</Layout.Container>
);