From 263b47f82f2717c641240ab9dcbbe0e9b7318040 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Thu, 22 Aug 2019 02:31:27 -0700 Subject: [PATCH] Add x-platform update indicator Summary: Use the new multi-platform update endpoint to indicate when new updates are available for Linux or Windows. Reviewed By: danielbuechele Differential Revision: D16939899 fbshipit-source-id: 11c1dc0d4fd19362a1163c613a7b7116c5edf996 --- src/chrome/TitleBar.tsx | 5 +- src/chrome/UpdateIndicator.tsx | 73 ++++++++++++++++++++++++++- src/utils/publicVersionChecker.tsx | 80 ++++++++++++++++++++++++++++++ 3 files changed, 155 insertions(+), 3 deletions(-) create mode 100644 src/utils/publicVersionChecker.tsx diff --git a/src/chrome/TitleBar.tsx b/src/chrome/TitleBar.tsx index e9681db20..8955f7409 100644 --- a/src/chrome/TitleBar.tsx +++ b/src/chrome/TitleBar.tsx @@ -171,7 +171,10 @@ class TitleBar extends React.Component { {isAutoUpdaterEnabled() ? ( ) : ( - + )} {config.bugReportButtonVisible && (