Skip to content

Commit

Permalink
chore: change context menu order
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelramalho19 authored and lidel committed Jun 11, 2020
1 parent 9cbe290 commit 6a223f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/files/context-menu/ContextMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,16 @@ class ContextMenu extends React.Component {
{t('actions.inspect')}
</Option>
}
<Option onClick={this.wrap(pinned ? 'onUnpin' : 'onPin')}>
<StrokePin className='w2 mr2 fill-aqua' />
{ pinned ? t('actions.unpin') : t('actions.pin') }
</Option>
{ !isUpperDir && !isUnknown && onDownload &&
<Option onClick={this.wrap('onDownload')}>
<StrokeDownload className='w2 mr2 fill-aqua' />
{t('actions.download')}
</Option>
}
<Option onClick={this.wrap(pinned ? 'onUnpin' : 'onPin')}>
<StrokePin className='w2 mr2 fill-aqua' />
{ pinned ? t('actions.unpin') : t('actions.pin') }
</Option>
{ !isUpperDir && !isUnknown && isMfs && onRename &&
<Option onClick={this.wrap('onRename')}>
<StrokePencil className='w2 mr2 fill-aqua' />
Expand Down

0 comments on commit 6a223f7

Please sign in to comment.