Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web,mobile): lineage and agent rows show which account a subagent runs on #24833

Mergedvitalyiegorov(GitHub profile, opens in a new tab)merged 10 commits intomain fromrefs/pull/24833/headmerged by maria-rcks View on GitHub

Showing 5 changed files with 54 additions and 11 deletions (loading 2).

x
0 of 5 viewed, 5 left
3 additions and 2 deletionsapps/mobile/src/components/ProviderIcon.tsxModified
View file
@@ -10,6 +10,7 @@
import { resolveOfficialAcpRegistryIconUrl } from "@t3tools/contracts";
import { useAppearancePreferences } from "../features/settings/appearance/AppearancePreferencesProvider";
import { AppText as Text } from "./ui/AppText";
+import { cn } from "../lib/cn";
import { getProviderClient } from "@t3tools/client-runtime/provider-clients";
​
type ProviderIconProps = {
@@ -158,7 +159,7 @@
readonly displayName: string;
readonly accentColor?: string;
readonly showBadge?: boolean;
- readonly surfaceColor: string;
+ readonly surfaceColor?: string;
}) {
const accentColor = normalizeProviderAccentColor(props.accentColor);
return (
@@ -173,7 +174,7 @@
style={{ position: "absolute", right: -3, bottom: -3, width: 32, alignItems: "flex-end" }}
<View
- className={accentColor ? undefined : "bg-card"}
+ className={cn(!accentColor && "bg-card", !props.surfaceColor && "border-screen")}
style={{
height: 12,
minWidth: 12,