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; };