summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop/src
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-12-13 20:04:38 -0600
committerAdam <[email protected]>2025-12-13 20:25:24 -0600
commit43a7c1dd8c67cc853f8c3e3e5457fac1da26d836 (patch)
tree903d5b3ab24d0e483465d976c2ea8bfbaff18c94 /packages/desktop/src
parente288ce0fca385a9e28387b7dff9eec7f54141e91 (diff)
downloadopencode-43a7c1dd8c67cc853f8c3e3e5457fac1da26d836.tar.gz
opencode-43a7c1dd8c67cc853f8c3e3e5457fac1da26d836.zip
fix: use opencode icon
Diffstat (limited to 'packages/desktop/src')
-rw-r--r--packages/desktop/src/pages/layout.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/desktop/src/pages/layout.tsx b/packages/desktop/src/pages/layout.tsx
index 9bc878dd6..52a3bd6ab 100644
--- a/packages/desktop/src/pages/layout.tsx
+++ b/packages/desktop/src/pages/layout.tsx
@@ -189,11 +189,13 @@ export default function Layout(props: ParentProps) {
const hasError = createMemo(() => notifications().some((n) => n.type === "error"))
const name = createMemo(() => getFilename(props.project.worktree))
const mask = "radial-gradient(circle 5px at calc(100% - 2px) 2px, transparent 5px, black 5.5px)"
+ const opencode = "4b0ea68d7af9a6031a7ffda7ad66e0cb83315750"
+
return (
<div class="relative size-6 shrink-0">
<Avatar
fallback={name()}
- src={props.project.icon?.url}
+ src={props.project.id === opencode ? "https://opencode.ai/favicon.svg" : props.project.icon?.url}
{...getAvatarColors(props.project.icon?.color)}
class={`size-full ${props.class ?? ""}`}
style={