mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 12:02:50 +08:00
feat(skins): refine KAAK voice workspace fidelity
This commit is contained in:
1 parent
ad0aa5c120
commit
7f5d3e1b3c
14 files changed
+134
-35
No files matched your search
@@ -4,6 +4,7 @@ import { splitTeamSpeakTarget } from "./teamspeak-target.js";
|
||||
export interface SkinPluginQuickServer {
|
||||
id: string;
|
||||
label: string;
|
||||
monogram: string;
|
||||
current: boolean;
|
||||
kind: "favorite" | "recent";
|
||||
favorite: boolean;
|
||||
@@ -45,6 +46,7 @@ export function createSkinPluginQuickServerProjection(createId: () => string = r
|
||||
return {
|
||||
id: opaqueId,
|
||||
label: safeLabel,
|
||||
monogram: Array.from(safeLabel)[0] ?? "?",
|
||||
current: isCurrent(server),
|
||||
kind: server.isFavorite ? "favorite" : "recent",
|
||||
favorite: server.isFavorite,
|
||||
|
||||
Reference in new issue
Block a user