fix: ci and bug in setter

This commit is contained in:
Jonathan Kelley committed 2022-01-05 22:15:19 -05:00
1 parent 52d00eac0f
commit 4aadec1e30
3 files changed
+6 -17

No files matched your search

+1 -14
View File
@@ -9,20 +9,7 @@
use dioxus::prelude::*;
fn main() {
dioxus::desktop::launch_cfg(app, |c| {
if cfg!(target_os = "macos") {
// we can configure our primary window through the Tauri Config
use dioxus::desktop::tao::platform::macos::*;
c.with_window(|w| {
w.with_fullsize_content_view(true)
.with_titlebar_buttons_hidden(false)
.with_titlebar_transparent(true)
.with_movable_by_window_background(true)
})
} else {
c
}
});
dioxus::desktop::launch(app);
}
pub fn app(cx: Scope) -> Element {