diff --git a/src/renderer/component/app/view.jsx b/src/renderer/component/app/view.jsx index 23ee922bb..a23a258ea 100644 --- a/src/renderer/component/app/view.jsx +++ b/src/renderer/component/app/view.jsx @@ -82,10 +82,10 @@ class App extends React.PureComponent { return (
openContextMenu(e)}> +
-
diff --git a/src/renderer/component/common/icon.jsx b/src/renderer/component/common/icon.jsx index 547a8a618..c331012e5 100644 --- a/src/renderer/component/common/icon.jsx +++ b/src/renderer/component/common/icon.jsx @@ -4,8 +4,10 @@ import * as FeatherIcons from 'react-feather'; import * as icons from 'constants/icons'; import Tooltip from 'component/common/tooltip'; +// It would be nice to standardize this somehow +// These are copied from `scss/vars`, can they both come from the same source? const RED_COLOR = '#e2495e'; -const PURPLE_COLOR = '#8165b0'; +const GREEN_COLOR = '#44b098'; type Props = { icon: string, @@ -29,10 +31,10 @@ class IconComponent extends React.PureComponent { switch (color) { case 'red': return RED_COLOR; - case 'purple': - return PURPLE_COLOR; + case 'green': + return GREEN_COLOR; default: - return null; + return undefined; } }; diff --git a/src/renderer/component/fileDownloadLink/view.jsx b/src/renderer/component/fileDownloadLink/view.jsx index ab4e9f362..ccc0f2ba7 100644 --- a/src/renderer/component/fileDownloadLink/view.jsx +++ b/src/renderer/component/fileDownloadLink/view.jsx @@ -77,7 +77,7 @@ class FileDownloadLink extends React.PureComponent {
+
- -
    {navLinks.primary.map(({ label, path, active, icon }) => ( diff --git a/src/renderer/constants/icons.js b/src/renderer/constants/icons.js index bfa3a926c..8ad62606d 100644 --- a/src/renderer/constants/icons.js +++ b/src/renderer/constants/icons.js @@ -27,3 +27,4 @@ export const UNLOCK = 'Unlock'; export const CHECK_SIMPLE = 'Check'; export const GLOBE = 'Globe'; export const EXTERNAL_LINK = 'ExternalLink'; +export const GIFT = 'Gift'; diff --git a/src/renderer/page/file/view.jsx b/src/renderer/page/file/view.jsx index b665ba89b..00b61914b 100644 --- a/src/renderer/page/file/view.jsx +++ b/src/renderer/page/file/view.jsx @@ -181,7 +181,7 @@ class FilePage extends React.Component {
    -
    +
    {(claimIsMine || subscriptionUri || speechSharable) && (
    {claimIsMine ? ( @@ -200,7 +200,7 @@ class FilePage extends React.Component { {!claimIsMine && (