Skip to content

Commit

Permalink
Swap the order of the "Insert" and "Search" buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
tnajdek committed Sep 3, 2024
1 parent df7086a commit d090b0e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ui/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,17 @@ function Toolbar({ viewMode, enableReturnButton, textColorState, highlightColorS
title={intl.formatMessage({ id: 'noteEditor.insertCitation' })}
onClick={() => citationState.insertCitation()}
/>}
{['ios', 'web'].includes(viewMode) && <InsertDropdown
isAttachmentNote={isAttachmentNote}
onInsertTable={onInsertTable}
onInsertMath={onInsertMath}
onInsertImage={onInsertImage}
/>}
<StateButton
state={{ isActive: searchState.active, run: () => searchState.setActive(!searchState.active) }}
icon={<IconSearch/>}
title={intl.formatMessage({ id: 'noteEditor.findAndReplace' })}
/>
{['ios', 'web'].includes(viewMode) && <InsertDropdown
isAttachmentNote={isAttachmentNote}
onInsertTable={ onInsertTable }
onInsertMath={ onInsertMath }
onInsertImage={ onInsertImage }
/>}
</div>
<div className="end">
{!['ios', 'web'].includes(viewMode) && <Dropdown
Expand Down

0 comments on commit d090b0e

Please sign in to comment.