Skip to content

Commit

Permalink
also update the other uses of the preferences store
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed Jul 5, 2023
1 parent cb7fb40 commit e925510
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/edit-site/src/components/header-edit-mode/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ export default function HeaderEditMode() {
isVisualMode: getEditorMode() === 'visual',
blockEditorMode: __unstableGetEditorMode(),
homeUrl: getUnstableBase()?.home,
showIconLabels: select( preferencesStore ).get(
'core/edit-site',
showIconLabels: getPreference(
editSiteStore.name,
'showIconLabels'
),
editorCanvasView: unlock(
select( editSiteStore )
).getEditorCanvasContainerView(),
isDistractionFree: select( preferencesStore ).get(
'core/edit-site',
isDistractionFree: getPreference(
editSiteStore.name,
'distractionFree'
),
hasFixedToolbar: getPreference(
Expand Down

0 comments on commit e925510

Please sign in to comment.