Skip to content

Commit 1092b65

Browse files
chore: refresh fix/freebuff-disable-chat-logo-animation onto current main
1 parent b00d9e9 commit 1092b65

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cli/src/components/chat-header.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { IS_FREEBUFF } from '../utils/constants'
88
import { openFileAtPath } from '../utils/open-file'
99
import { formatCwd } from '../utils/path-helpers'
1010
import { getLogoAccentColor, getLogoBlockColor } from '../utils/theme-system'
11+
import { shouldAnimateChatHeader } from '../utils/chat-header-animation'
1112
import { TerminalLink } from './terminal-link'
1213

1314
export const ChatHeader = memo(function ChatHeader({
@@ -23,7 +24,7 @@ export const ChatHeader = memo(function ChatHeader({
2324
const blockColor = getLogoBlockColor(theme.name)
2425
const accentColor = getLogoAccentColor(theme.name)
2526
const { applySheenToChar } = useSheenAnimation({
26-
enabled: animationEnabled,
27+
enabled: shouldAnimateChatHeader(animationEnabled, IS_FREEBUFF),
2728
logoColor: theme.foreground,
2829
accentColor,
2930
blockColor,

0 commit comments

Comments
 (0)