Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Remove unused function

Ilyaa408f68f6122
diff --git a/apps/desktop/src/utils/tray.ts b/apps/desktop/src/utils/tray.ts
index 3d52dde66..284946f69 100644
--- a/apps/desktop/src/utils/tray.ts
+++ b/apps/desktop/src/utils/tray.ts
@@ -100,10 +100,6 @@ export const setTrayStopIcon = async (showStopIcon: boolean) => {
await handle?.setIconAsTemplate(true);
};
-export const setTrayTitle = async (title: string | null) => {
- handle?.setTitle(title);
-};
-
const selectDevice = (kind: DeviceKind, device: Device | null) =>
emit("cap://av/set-device", { type: kind, device: device }).catch((error) =>
console.log("Failed to emit cap://av/set-device event:", error)