diff options
Diffstat (limited to 'src/components/AppUpdateInfoBar.tsx')
-rw-r--r-- | src/components/AppUpdateInfoBar.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/AppUpdateInfoBar.tsx b/src/components/AppUpdateInfoBar.tsx index 1dd3723cc..d2402945e 100644 --- a/src/components/AppUpdateInfoBar.tsx +++ b/src/components/AppUpdateInfoBar.tsx | |||
@@ -1,8 +1,10 @@ | |||
1 | import { defineMessages, useIntl } from 'react-intl'; | 1 | import { defineMessages, useIntl } from 'react-intl'; |
2 | 2 | ||
3 | import { mdiInformation } from '@mdi/js'; | ||
3 | import InfoBar from './ui/InfoBar'; | 4 | import InfoBar from './ui/InfoBar'; |
4 | import { GITHUB_FERDI_URL } from '../config'; | 5 | import { GITHUB_FERDI_URL } from '../config'; |
5 | import { openExternalUrl } from '../helpers/url-helpers'; | 6 | import { openExternalUrl } from '../helpers/url-helpers'; |
7 | import { Icon } from './ui/icon'; | ||
6 | 8 | ||
7 | const messages = defineMessages({ | 9 | const messages = defineMessages({ |
8 | updateAvailable: { | 10 | updateAvailable: { |
@@ -34,7 +36,7 @@ const AppUpdateInfoBar = ({ onInstallUpdate, onHide }: Props) => { | |||
34 | onClick={onInstallUpdate} | 36 | onClick={onInstallUpdate} |
35 | onHide={onHide} | 37 | onHide={onHide} |
36 | > | 38 | > |
37 | <span className="mdi mdi-information" /> | 39 | <Icon icon={mdiInformation} /> |
38 | {intl.formatMessage(messages.updateAvailable)}{' '} | 40 | {intl.formatMessage(messages.updateAvailable)}{' '} |
39 | <button | 41 | <button |
40 | className="info-bar__inline-button" | 42 | className="info-bar__inline-button" |