Skip to content

Commit

Permalink
Enable Insert and disable More dropdowns for iOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtcode committed Apr 12, 2024
1 parent 93202a4 commit cf6ed26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,15 @@ function Toolbar({ viewMode, enableReturnButton, textColorState, highlightColorS
icon={<IconSearch/>}
title={intl.formatMessage({ id: 'noteEditor.findAndReplace' })}
/>
{viewMode === 'web' && <InsertDropdown
{['ios', 'web'].includes(viewMode) && <InsertDropdown
isAttachmentNote={isAttachmentNote}
onInsertTable={ onInsertTable }
onInsertMath={ onInsertMath }
onInsertImage={ onInsertImage }
/>}
</div>
<div className="end">
{!['web'].includes(viewMode) && <Dropdown
{!['ios', 'web'].includes(viewMode) && <Dropdown
className="more-dropdown"
icon={<IconMore/>}
title={intl.formatMessage({ id: 'noteEditor.more' })}
Expand Down

0 comments on commit cf6ed26

Please sign in to comment.