Skip to content

Commit

Permalink
fix: revert condition
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackySoul committed Dec 15, 2023
1 parent d509bd7 commit c93985b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vkui/src/components/PanelHeader/PanelHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ export const PanelHeader = ({
const platform = usePlatform();
const { sizeX = 'none', sizeY = 'none' } = useAdaptivity();
const { sizeX: adaptiveSizeX } = useAdaptivityConditionalRender();
const isVKCOM = platform !== 'vkcom';
const isFixed = fixed !== undefined ? fixed : isVKCOM;
const isVKCOM = platform === 'vkcom';
const isFixed = fixed !== undefined ? fixed : !isVKCOM;
const separatorVisible = delimiter === 'auto' || delimiter === 'separator';
const visorSeparatorVisible = !noVisor && separatorVisible;
const visorSpacingVisible = !noVisor && (delimiter === 'auto' || delimiter === 'spacing');
Expand Down

0 comments on commit c93985b

Please sign in to comment.