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 committed Jun 9, 2020
1 parent 707f81f commit bd63462
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 bd63462

Please sign in to comment.