fix: send camelCase overlay config args to tauri command
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -56,6 +56,6 @@ export type CountdownTickPayload = {
|
||||
export type OverlayConfigPayload = {
|
||||
id: number;
|
||||
icon: string;
|
||||
text_color: string;
|
||||
bg_color: string;
|
||||
textColor: string;
|
||||
bgColor: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user