Skip to content

Commit ba1472f

Browse files
committed
Fix set shadows on unsupported platforms
1 parent be29661 commit ba1472f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "r2-t2",
3-
"version": "0.2.2",
3+
"version": "0.2.3",
44
"private": true,
55
"dependencies": {
66
"@emotion/react": "^11.10.4",

src-tauri/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ fn main() {
201201
.setup(|app| {
202202
app.manage(Mutex::new(TrayState::NotPlaying));
203203
if let Some(window) = app.get_window("main") {
204-
set_shadow(&window, true).expect("Unsupported platform!");
204+
set_shadow(&window, true).ok(); // don't care if platform is unsupported
205205
}
206206
Ok(())
207207
})

0 commit comments

Comments
 (0)