Skip to content

Commit b080182

Browse files
committed
fix: add missing generic to Window in code for windows OS
1 parent d090c01 commit b080182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-tauri/src/ui/window.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub fn decorate_window<R: Runtime>(window: &Window<R>) {
2222
use tauri::{Theme, WindowEvent};
2323
use window_vibrancy::apply_acrylic;
2424

25-
fn apply_windows_theme(theme: &Theme, window: &Window) {
25+
fn apply_windows_theme<R: Runtime>(theme: &Theme, window: &Window<R>) {
2626
match theme {
2727
Theme::Light => apply_acrylic(window, Some((255, 255, 255, 125)))
2828
.expect("Unsupported platform! 'apply_acrylic' is only supported on Windows"),

0 commit comments

Comments
 (0)