Skip to content

Commit 7b01c5d

Browse files
committed
Update tauri.ts
1 parent 4594fb7 commit 7b01c5d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

apps/desktop/src/utils/tauri.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,9 @@ async positionTrafficLights(controlsInset: [number, number] | null) : Promise<vo
254254
async setTheme(theme: AppTheme) : Promise<void> {
255255
await TAURI_INVOKE("set_theme", { theme });
256256
},
257+
async applyMacosLiquidGlassBackground(enabled: boolean, radius: number) : Promise<boolean> {
258+
return await TAURI_INVOKE("apply_macos_liquid_glass_background", { enabled, radius });
259+
},
257260
async globalMessageDialog(message: string) : Promise<void> {
258261
await TAURI_INVOKE("global_message_dialog", { message });
259262
},

0 commit comments

Comments
 (0)