Revert "style: formatting"

This reverts commit f2f554074b.
This commit is contained in:
PandaDEV 2024-11-23 15:09:16 +10:00
parent f2f554074b
commit d0b551b3fd
No known key found for this signature in database
GPG key ID: 13EFF9BAF70EE75C
22 changed files with 1171 additions and 1493 deletions

View file

@ -6,7 +6,6 @@
mod api;
mod utils;
use tauri::window::{Effect, EffectState, EffectsBuilder};
use tauri::Manager;
use tauri::WebviewUrl;
use tauri::WebviewWindow;
@ -46,9 +45,7 @@ fn main() {
.visible(false)
.decorations(false)
.transparent(true)
.always_on_top(true)
.content_protected(true)
.visible_on_all_workspaces(true)
.always_on_top(false)
.build()?
};
@ -71,13 +68,6 @@ fn main() {
api::updater::check_for_updates(app_handle).await;
});
main_window.set_effects(
EffectsBuilder::new()
.effect(Effect::Popover)
.state(EffectState::Active)
.build(),
)?;
Ok(())
})
.on_window_event(|_app, _event| {