Skip to content

Commit a3f1f97

Browse files
dependabot[bot]rennerdo30claude
authored
chore(deps): bump lucide-react from 0.577.0 to 1.22.0 in /ui (#52)
* chore(deps): bump lucide-react from 0.577.0 to 1.22.0 in /ui Bumps [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) from 0.577.0 to 1.22.0. - [Release notes](https://github.com/lucide-icons/lucide/releases) - [Commits](https://github.com/lucide-icons/lucide/commits/1.22.0/packages/lucide-react) --- updated-dependencies: - dependency-name: lucide-react dependency-version: 1.22.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix(ui): replace lucide brand icons removed in v1.x lucide-react 1.x dropped the Twitch and Youtube brand icons. Replace them with generic equivalents (Gamepad2 for Twitch, MonitorPlay for YouTube), preserving the existing purple/red color classes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: rennerdo30 <9086097+rennerdo30@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 846bdf3 commit a3f1f97

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"clsx": "^2.1.1",
3030
"date-fns": "^4.1.0",
3131
"hls.js": "^1.6.15",
32-
"lucide-react": "^0.577.0",
32+
"lucide-react": "^1.22.0",
3333
"next": "16.2.9",
3434
"next-intl": "^4.6.1",
3535
"react": "19.2.7",

ui/src/app/[locale]/restreams/page.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import {
2222
Radio,
2323
RefreshCw,
2424
Share2,
25-
Twitch,
26-
Youtube,
25+
Gamepad2,
26+
MonitorPlay,
2727
Tv,
2828
FileVideo,
2929
LayoutDashboard,
@@ -175,8 +175,8 @@ function RestreamRow({ restream, style }: RestreamRowProps) {
175175
className={`text-xs gap-1 ${dest.enabled ? 'bg-muted/50' : 'opacity-50'
176176
}`}
177177
>
178-
{dest.platform.includes('twitch') && <Twitch className="h-3 w-3 text-purple-400" />}
179-
{dest.platform.includes('youtube') && <Youtube className="h-3 w-3 text-red-400" />}
178+
{dest.platform.includes('twitch') && <Gamepad2 className="h-3 w-3 text-purple-400" />}
179+
{dest.platform.includes('youtube') && <MonitorPlay className="h-3 w-3 text-red-400" />}
180180
{!dest.platform.includes('twitch') && !dest.platform.includes('youtube') && (
181181
<Tv className="h-3 w-3 text-muted-foreground" />
182182
)}
@@ -278,8 +278,8 @@ function CreateRestreamDialog() {
278278
};
279279

280280
const getPlatformIcon = (pluginId: string) => {
281-
if (pluginId.includes("twitch")) return <Twitch className="h-4 w-4 text-purple-400" />;
282-
if (pluginId.includes("youtube")) return <Youtube className="h-4 w-4 text-red-400" />;
281+
if (pluginId.includes("twitch")) return <Gamepad2 className="h-4 w-4 text-purple-400" />;
282+
if (pluginId.includes("youtube")) return <MonitorPlay className="h-4 w-4 text-red-400" />;
283283
return <Tv className="h-4 w-4 text-muted-foreground" />;
284284
};
285285

ui/src/app/[locale]/streams/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ import {
2727
ExternalLink,
2828
Share2,
2929
Trash2,
30-
Twitch,
31-
Youtube,
30+
Gamepad2,
31+
MonitorPlay,
3232
Tv
3333
} from "lucide-react";
3434
import { useTranslations } from "next-intl";
@@ -475,8 +475,8 @@ function DestinationsDialog({ streamId }: DestinationsDialogProps) {
475475
};
476476

477477
const getPlatformIcon = (pluginId: string) => {
478-
if (pluginId.includes("twitch")) return <Twitch className="h-4 w-4 text-purple-400" />;
479-
if (pluginId.includes("youtube")) return <Youtube className="h-4 w-4 text-red-400" />;
478+
if (pluginId.includes("twitch")) return <Gamepad2 className="h-4 w-4 text-purple-400" />;
479+
if (pluginId.includes("youtube")) return <MonitorPlay className="h-4 w-4 text-red-400" />;
480480
return <Tv className="h-4 w-4 text-muted-foreground" />;
481481
};
482482

ui/src/components/chat-widget.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import {
1212
MessageCircle,
1313
Send,
1414
Loader2,
15-
Twitch,
16-
Youtube,
15+
Gamepad2,
16+
MonitorPlay,
1717
Tv,
1818
RefreshCw,
1919
} from "lucide-react";
@@ -25,8 +25,8 @@ interface ChatWidgetProps {
2525

2626
function getPlatformIcon(platform: string) {
2727
const lower = platform.toLowerCase();
28-
if (lower.includes("twitch")) return <Twitch className="h-3 w-3 text-purple-400" />;
29-
if (lower.includes("youtube")) return <Youtube className="h-3 w-3 text-red-400" />;
28+
if (lower.includes("twitch")) return <Gamepad2 className="h-3 w-3 text-purple-400" />;
29+
if (lower.includes("youtube")) return <MonitorPlay className="h-3 w-3 text-red-400" />;
3030
if (lower.includes("kick")) return <Tv className="h-3 w-3 text-green-400" />;
3131
if (lower.includes("rumble")) return <Tv className="h-3 w-3 text-emerald-400" />;
3232
return <MessageCircle className="h-3 w-3 text-muted-foreground" />;

0 commit comments

Comments
 (0)