fix: send camelCase overlay config args to tauri command

This commit is contained in:
2026-03-06 16:37:22 +01:00
parent 06fb4a9119
commit c227d934d5
2 changed files with 4 additions and 4 deletions

View File

@@ -61,8 +61,8 @@ export async function setOverlayConfig(
const payload: OverlayConfigPayload = {
id,
icon,
text_color: textColor,
bg_color: bgColor,
textColor,
bgColor,
};
await invokeCommand<void>("set_overlay_config", payload);
}

View File

@@ -56,6 +56,6 @@ export type CountdownTickPayload = {
export type OverlayConfigPayload = {
id: number;
icon: string;
text_color: string;
bg_color: string;
textColor: string;
bgColor: string;
};