mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-30 20:44:18 +02:00
Reformat project
This commit is contained in:
@@ -27,9 +27,7 @@ pub(crate) struct PluginState {
|
||||
pub fn init<R: Runtime>() -> TauriPlugin<R> {
|
||||
let mut builder = plugin::Builder::new("yaak-mac-window")
|
||||
.setup(move |app, _| {
|
||||
app.manage(PluginState {
|
||||
native_titlebar: AtomicBool::new(false),
|
||||
});
|
||||
app.manage(PluginState { native_titlebar: AtomicBool::new(false) });
|
||||
Ok(())
|
||||
})
|
||||
.invoke_handler(generate_handler![set_title, set_theme]);
|
||||
|
||||
Reference in New Issue
Block a user