You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// winit examplelet webview = WebViewBuilder::new().with_url("https://tailwindcss.com/").with_theme(Theme::Dark).build_as_child(&window).unwrap();// orlet webview = self.webview.as_ref().unwrap();
webview.set_theme(Theme::Dark);// We use `tailwindcss.com` for testing because it uses the auto theme.
Expected behavior
The theme should be updated and return Ok
Screenshots
theme.mov
Platform and Versions (please complete the following information):
OS: Windows 11, Windows 10
Rustc: 1.91.1
Additional context
This is a bug I found in Tauri. When I call app.setTheme, nothing happens, so I came here.
✅ macOS
✅ Linux
❌ Windows
I think it used to be good because it worked fine before, but I'm not sure when it broke.
Describe the bug
Returned
Ok(()), but nothing changed.Steps To Reproduce
Expected behavior
The theme should be updated and return Ok
Screenshots
theme.mov
Platform and Versions (please complete the following information):
OS: Windows 11, Windows 10
Rustc: 1.91.1
Additional context
This is a bug I found in Tauri. When I call
app.setTheme, nothing happens, so I came here.✅ macOS
✅ Linux
❌ Windows
I think it used to be good because it worked fine before, but I'm not sure when it broke.