From af1543135d42adc2e97dc5243aeef7418cd3b00d Mon Sep 17 00:00:00 2001
From: Matthias Nott <mnott@mnsoft.org>
Date: Sat, 07 Mar 2026 08:39:26 +0100
Subject: [PATCH] feat: dual address auto-switch, custom icon, notifications, image support
---
components/ui/StatusDot.tsx | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/components/ui/StatusDot.tsx b/components/ui/StatusDot.tsx
index 3255ea9..543408d 100644
--- a/components/ui/StatusDot.tsx
+++ b/components/ui/StatusDot.tsx
@@ -8,17 +8,19 @@
}
export function StatusDot({ status, size = 10 }: StatusDotProps) {
- const colorClass =
+ const color =
status === "connected"
- ? "bg-pai-success"
+ ? "#22c55e"
+ : status === "compacting"
+ ? "#3b82f6"
: status === "connecting"
- ? "bg-pai-warning"
- : "bg-pai-error";
+ ? "#eab308"
+ : "#ef4444";
return (
<View
- className={`rounded-full ${colorClass}`}
- style={{ width: size, height: size }}
+ className="rounded-full"
+ style={{ width: size, height: size, backgroundColor: color }}
/>
);
}
--
Gitblit v1.3.1