Skip to content

Commit

Permalink
Widget Editor: Update settings icon (#51029)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano authored May 29, 2023
1 parent 7ad7087 commit 9a686da
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

1 comment on commit 9a686da

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 9a686da.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5110096576
📝 Reported issues:

Please sign in to comment.