From c227d934d5ff941f1ff76eeb88362645b229986d Mon Sep 17 00:00:00 2001 From: "s0wlz (Matthias Puchstein)" Date: Fri, 6 Mar 2026 16:37:22 +0100 Subject: [PATCH] fix: send camelCase overlay config args to tauri command --- src/features/countdown/api/countdown.client.ts | 4 ++-- src/features/countdown/model/countdown.types.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/features/countdown/api/countdown.client.ts b/src/features/countdown/api/countdown.client.ts index 5b6871b..2b1addd 100644 --- a/src/features/countdown/api/countdown.client.ts +++ b/src/features/countdown/api/countdown.client.ts @@ -61,8 +61,8 @@ export async function setOverlayConfig( const payload: OverlayConfigPayload = { id, icon, - text_color: textColor, - bg_color: bgColor, + textColor, + bgColor, }; await invokeCommand("set_overlay_config", payload); } diff --git a/src/features/countdown/model/countdown.types.ts b/src/features/countdown/model/countdown.types.ts index 9b73dbe..508306f 100644 --- a/src/features/countdown/model/countdown.types.ts +++ b/src/features/countdown/model/countdown.types.ts @@ -56,6 +56,6 @@ export type CountdownTickPayload = { export type OverlayConfigPayload = { id: number; icon: string; - text_color: string; - bg_color: string; + textColor: string; + bgColor: string; };