Fix build jammy (#44)
* fix: use rust-all * update deps * remove rust-all version requirement * fix: install 1.69.0 in ci.yml * clippy
This commit is contained in:
parent
0745d43136
commit
ddc176ea89
6 changed files with 11 additions and 12 deletions
|
|
@ -224,10 +224,10 @@ impl Page {
|
|||
has_some = true;
|
||||
list_column = list_column.add(
|
||||
row![
|
||||
icon(info.icon.to_owned(), 32).style(theme::Svg::Symbolic),
|
||||
icon(info.icon.clone(), 32).style(theme::Svg::Symbolic),
|
||||
column![
|
||||
text(info.name.to_owned()),
|
||||
text(info.description.to_owned()).size(10)
|
||||
text(info.name.clone()),
|
||||
text(info.description.clone()).size(10)
|
||||
]
|
||||
.spacing(4.0)
|
||||
.width(Length::Fill),
|
||||
|
|
@ -906,7 +906,7 @@ where
|
|||
);
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_lines)]
|
||||
#[allow(clippy::too_many_lines, clippy::needless_match)]
|
||||
fn on_event(
|
||||
&mut self,
|
||||
tree: &mut Tree,
|
||||
|
|
|
|||
|
|
@ -334,7 +334,7 @@ pub fn settings() -> Section<crate::pages::Message> {
|
|||
|
||||
let background_fit = cosmic::iced::widget::pick_list(
|
||||
&page.fit_options,
|
||||
page.fit_options.get(page.selected_fit as usize).cloned(),
|
||||
page.fit_options.get(page.selected_fit).cloned(),
|
||||
Message::Fit,
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue