Skip to content

Commit

Permalink
chore: update libcosmic & cleanup
Browse files Browse the repository at this point in the history
this should fix the add applet issue
  • Loading branch information
wash2 authored and mmstick committed Feb 14, 2024
1 parent 994dfda commit 8a61256
Show file tree
Hide file tree
Showing 6 changed files with 96 additions and 94 deletions.
130 changes: 72 additions & 58 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,3 @@ rev = "2e9bf9f"

[profile.release]
opt-level = 3

[patch.crates-io]
wgpu = { git = "https://github.com/gfx-rs/wgpu", rev = "faed98b" }


4 changes: 2 additions & 2 deletions app/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@ impl cosmic::Application for SettingsApp {
fn on_close_requested(&self, id: window::Id) -> Option<Self::Message> {
let message = if id == *applets_inner::ADD_PANEL_APPLET_DIALOGUE_ID {
Message::PageMessage(crate::pages::Message::PanelApplet(
applets_inner::Message::ClosedAppletDialogue,
applets_inner::Message::ClosedAppletDialog,
))
} else if id == *ADD_DOCK_APPLET_DIALOGUE_ID {
Message::PageMessage(crate::pages::Message::DockApplet(dock::applets::Message(
applets_inner::Message::ClosedAppletDialogue,
applets_inner::Message::ClosedAppletDialog,
)))
} else if id == *COLOR_PICKER_DIALOG_ID {
Message::PageMessage(crate::pages::Message::Appearance(
Expand Down
2 changes: 1 addition & 1 deletion app/src/pages/desktop/dock/applets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl Default for Page {
current_config,
reorder_widget_state: ReorderWidgetState::default(),
search: String::new(),
has_dialogue: false,
has_dialog: false,
},
}
}
Expand Down
Loading

0 comments on commit 8a61256

Please sign in to comment.