feat(UnsupportedDesktopBrowser): recommend Edge, not IE

This commit is contained in:
Saúl Ibarra Corretgé 2018-06-27 12:20:46 +02:00 committed by Saúl Ibarra Corretgé
parent 87fa8de815
commit 7fcc95c9da
2 changed files with 11 additions and 11 deletions

View File

@ -6,7 +6,7 @@ import React, { Component } from 'react';
import { translate } from '../../base/i18n'; import { translate } from '../../base/i18n';
import { Platform } from '../../base/react'; import { Platform } from '../../base/react';
import { CHROME, FIREFOX, IE, SAFARI } from './browserLinks'; import { CHROME, EDGE, FIREFOX, SAFARI } from './browserLinks';
/** /**
* The namespace of the CSS styles of UnsupportedDesktopBrowser. * The namespace of the CSS styles of UnsupportedDesktopBrowser.
@ -81,8 +81,8 @@ class UnsupportedDesktopBrowser extends Component<*> {
break; break;
case 'windows': case 'windows':
link = IE; link = EDGE;
text = 'Internet Explorer'; text = 'Edge';
break; break;
} }
if (typeof link !== 'undefined') { if (typeof link !== 'undefined') {

View File

@ -14,6 +14,14 @@ export const CHROME = 'http://google.com/chrome';
*/ */
export const CHROMIUM = 'http://www.chromium.org/'; export const CHROMIUM = 'http://www.chromium.org/';
/**
* The URL at which Microsoft Edge is available for download.
*
* @type {string}
*/
export const EDGE
= 'https://www.microsoft.com/en-us/windows/microsoft-edge';
/** /**
* The URL at which Mozilla Firefox is available for download. * The URL at which Mozilla Firefox is available for download.
* *
@ -21,14 +29,6 @@ export const CHROMIUM = 'http://www.chromium.org/';
*/ */
export const FIREFOX = 'http://www.getfirefox.com/'; export const FIREFOX = 'http://www.getfirefox.com/';
/**
* The URL at which Microsoft Internet Explorer is available for download.
*
* @type {string}
*/
export const IE
= 'https://www.microsoft.com/en-us/download/internet-explorer.aspx';
/** /**
* The URL at which Safari is available for download. * The URL at which Safari is available for download.
* *