From 10b8aea43741cda4bf16276868ec6b66dc9448a0 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Thu, 7 Nov 2024 12:57:19 +0700 Subject: [PATCH] fix: starter screen text alignment and missing model size --- .../ChatBody/OnDeviceStarterScreen/index.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/web/screens/Thread/ThreadCenterPanel/ChatBody/OnDeviceStarterScreen/index.tsx b/web/screens/Thread/ThreadCenterPanel/ChatBody/OnDeviceStarterScreen/index.tsx index 0b999c19d5..0433a86885 100644 --- a/web/screens/Thread/ThreadCenterPanel/ChatBody/OnDeviceStarterScreen/index.tsx +++ b/web/screens/Thread/ThreadCenterPanel/ChatBody/OnDeviceStarterScreen/index.tsx @@ -221,19 +221,19 @@ const OnDeviceStarterScreen = ({ extensionHasSettings }: Props) => { return (
-
{featModel.name}
+
{featModel.name}
{isDownloading ? ( -
+
{Object.values(downloadStates) .filter((x) => x.modelId === featModel.id) .map((item, i) => (
{
))} + + {toGibibytes(featModel.metadata?.size)} +
) : (