File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import classnames from 'classnames';
77 * WordPress dependencies
88 */
99import { useEffect , Platform } from '@wordpress/element' ;
10- import { __ , sprintf } from '@wordpress/i18n' ;
10+ import { isRTL , __ , sprintf } from '@wordpress/i18n' ;
1111import {
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' ;
2121import { Button } from '@wordpress/components' ;
2222import { 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 && (
You can’t perform that action at this time.
0 commit comments