Skip to content

Commit 9a686da

Browse files
authored
Widget Editor: Update settings icon (#51029)
1 parent 7ad7087 commit 9a686da

File tree

1 file changed

+3
-3
lines changed
  • packages/edit-widgets/src/components/sidebar

1 file changed

+3
-3
lines changed

packages/edit-widgets/src/components/sidebar/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import classnames from 'classnames';
77
* WordPress dependencies
88
*/
99
import { useEffect, Platform } from '@wordpress/element';
10-
import { __, sprintf } from '@wordpress/i18n';
10+
import { isRTL, __, sprintf } from '@wordpress/i18n';
1111
import {
1212
ComplementaryArea,
1313
store as interfaceStore,
@@ -17,7 +17,7 @@ import {
1717
store as blockEditorStore,
1818
} from '@wordpress/block-editor';
1919

20-
import { cog } from '@wordpress/icons';
20+
import { drawerLeft, drawerRight } from '@wordpress/icons';
2121
import { Button } from '@wordpress/components';
2222
import { useSelect, useDispatch } from '@wordpress/data';
2323

@@ -168,7 +168,7 @@ export default function Sidebar() {
168168
closeLabel={ __( 'Close Settings' ) }
169169
scope="core/edit-widgets"
170170
identifier={ currentArea }
171-
icon={ cog }
171+
icon={ isRTL() ? drawerLeft : drawerRight }
172172
isActiveByDefault={ SIDEBAR_ACTIVE_BY_DEFAULT }
173173
>
174174
{ currentArea === WIDGET_AREAS_IDENTIFIER && (

0 commit comments

Comments
 (0)