Skip to content

Commit

Permalink
fix(ui): rfd import for file dialog fix (#1978)
Browse files Browse the repository at this point in the history
Co-authored-by: Flemmli97 <Flemmli97@users.noreply.github.com>
Co-authored-by: Luis E <35935591+luisecm@users.noreply.github.com>
  • Loading branch information
3 people authored Apr 18, 2024
1 parent e86d48b commit 7542668
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#![cfg_attr(feature = "production_mode", windows_subsystem = "windows")]
// Having it here fixes a file dialog crash for some reason. (Seems to only be on some MacOS)
#[allow(unused_imports)]
use rfd::FileDialog;

fn main() {
uplink::main_lib();
Expand Down

0 comments on commit 7542668

Please sign in to comment.