From 6d8ec4d147962650cf8a2d4527f5d7dba45cc0e2 Mon Sep 17 00:00:00 2001 From: Leonard Kim Date: Thu, 6 Jun 2019 18:36:10 -0700 Subject: [PATCH] fix(unsupported): stop recommending safari --- .../components/UnsupportedDesktopBrowser.js | 49 +------------------ 1 file changed, 2 insertions(+), 47 deletions(-) diff --git a/react/features/unsupported-browser/components/UnsupportedDesktopBrowser.js b/react/features/unsupported-browser/components/UnsupportedDesktopBrowser.js index 3bb8f9c8d..b7ca67b7c 100644 --- a/react/features/unsupported-browser/components/UnsupportedDesktopBrowser.js +++ b/react/features/unsupported-browser/components/UnsupportedDesktopBrowser.js @@ -3,9 +3,8 @@ import React, { Component } from 'react'; import { translate } from '../../base/i18n'; -import { Platform } from '../../base/react'; -import { CHROME, /* EDGE, */ FIREFOX, SAFARI } from './browserLinks'; +import { CHROME, FIREFOX } from './browserLinks'; /** * The namespace of the CSS styles of UnsupportedDesktopBrowser. @@ -51,55 +50,11 @@ class UnsupportedDesktopBrowser extends Component { href = { CHROME } >Chrome and  Firefox  - { - this._renderOSSpecificBrowserDownloadLink() - } + href = { FIREFOX }>Firefox

); } - - /** - * Depending on the platform returns the link to Safari browser. - * - * @returns {ReactElement|null} - * @private - */ - _renderOSSpecificBrowserDownloadLink() { - let link; - let text; - - switch (Platform.OS) { - case 'macos': - link = SAFARI; - text = 'Safari'; - break; - - /* - case 'windows': - link = EDGE; - text = 'Edge'; - break; - */ - } - if (typeof link !== 'undefined') { - return ( - - or  - - { - text - } - - - ); - } - - return null; - } } export default translate(UnsupportedDesktopBrowser);