Skip to content

Commit

Permalink
Widget Editor: Update settings icon
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed May 27, 2023
1 parent 0488e29 commit c1aea20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/edit-widgets/src/components/sidebar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import classnames from 'classnames';
* WordPress dependencies
*/
import { useEffect, Platform } from '@wordpress/element';
import { __, sprintf } from '@wordpress/i18n';
import { isRTL, __, sprintf } from '@wordpress/i18n';
import {
ComplementaryArea,
store as interfaceStore,
Expand All @@ -17,7 +17,7 @@ import {
store as blockEditorStore,
} from '@wordpress/block-editor';

import { cog } from '@wordpress/icons';
import { drawerLeft, drawerRight } from '@wordpress/icons';
import { Button } from '@wordpress/components';
import { useSelect, useDispatch } from '@wordpress/data';

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

0 comments on commit c1aea20

Please sign in to comment.