Fix bug preventing display of PWA wizard
Summary: ^ Reviewed By: LukeDefeo Differential Revision: D49496590 fbshipit-source-id: 912be66e3c6c7ef5aaf356815a43439c43d78b24
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3b8e03e94d
commit
1db90f9187
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user