From e940184115d0ca82963c87fcf6908890f0d90c23 Mon Sep 17 00:00:00 2001 From: David Hill Date: Fri, 20 Mar 2026 13:01:12 +0000 Subject: [PATCH] tweak(ui): use file-type icons for attachments --- packages/app/src/components/prompt-input/image-attachments.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/app/src/components/prompt-input/image-attachments.tsx b/packages/app/src/components/prompt-input/image-attachments.tsx index c309c7d1e4..bfc192b0e1 100644 --- a/packages/app/src/components/prompt-input/image-attachments.tsx +++ b/packages/app/src/components/prompt-input/image-attachments.tsx @@ -1,5 +1,6 @@ import { Component, Show } from "solid-js" import { Icon } from "@opencode-ai/ui/icon" +import { FileIcon } from "@opencode-ai/ui/file-icon" import { Tooltip } from "@opencode-ai/ui/tooltip" import type { ImageAttachmentPart } from "@/context/prompt" @@ -50,7 +51,7 @@ export const PromptImageAttachment: Component = (pro when={props.attachment.mime.startsWith("image/")} fallback={
- +
} >