Skip to content

Commit

Permalink
change: use 'file' icon for files in search suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Yesmunt committed Jan 23, 2019
1 parent 2f00054 commit 3e1f3f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/component/wunderbar/view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class WunderBar extends React.PureComponent<Props> {
getSuggestionIcon = (type: string) => {
switch (type) {
case 'file':
return ICONS.LOCAL;
return ICONS.FILE;
case 'channel':
return ICONS.CHANNEL;
default:
Expand Down
1 change: 1 addition & 0 deletions src/renderer/constants/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ export const TWITTER = 'Twitter';
export const WALLET = 'CreditCard';
export const SETTINGS = 'Settings';
export const INVITE = 'Users';
export const FILE = 'File';

0 comments on commit 3e1f3f1

Please sign in to comment.