yoda: bump iced submodule + cargo auto-fix sweeps (squashed)
Squash of 6 yoda commits: -282813c8yoda: bump iced -> window_clipboard via public Forgejo fork -cdf34938yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings -38a988cbyoda: cargo fix on cosmic-config + bump iced auto-fix commit -301bbf6eyoda: bump iced submodule -> iced_winit warning cleanup (0 left) -b94c03d9yoda: bump iced submodule -> iced_widget cleanup (0 left) -a9492d76yoda: bump iced submodule -> all iced crates at 0 warnings
This commit is contained in:
parent
ef8f69134f
commit
38acba82b4
20 changed files with 58 additions and 68 deletions
|
|
@ -408,7 +408,7 @@ where
|
|||
f64::from(self.app.core().scale_factor())
|
||||
}
|
||||
|
||||
pub fn style(&self, theme: &Theme) -> theme::Style {
|
||||
pub fn style(&self, _theme: &Theme) -> theme::Style {
|
||||
if let Some(style) = self.app.style() {
|
||||
style
|
||||
} else if self.app.core().window.is_maximized {
|
||||
|
|
@ -621,7 +621,7 @@ impl<T: Application> Cosmic<T> {
|
|||
#[allow(clippy::too_many_lines)]
|
||||
fn cosmic_update(&mut self, message: Action) -> iced::Task<crate::Action<T::Message>> {
|
||||
match message {
|
||||
Action::WindowMaximized(id, maximized) => {
|
||||
Action::WindowMaximized(_id, _maximized) => {
|
||||
#[cfg(not(all(feature = "wayland", target_os = "linux")))]
|
||||
if self
|
||||
.app
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue