Update vulnerable dependencies and migrate to Iced 0.14.
This commit is contained in:
@@ -310,7 +310,7 @@ fn status_button(file: &GitFileStatus) -> Element<'static, Message> {
|
||||
keyboard::button(
|
||||
row![
|
||||
text(path.clone()).size(11),
|
||||
Space::with_width(Length::Fill),
|
||||
Space::new().width(Length::Fill),
|
||||
text(file.kind.code()).size(11),
|
||||
]
|
||||
.spacing(6),
|
||||
@@ -364,7 +364,7 @@ fn sync_legend_item(status: SyncStatus, locale: UiLocale) -> Element<'static, Me
|
||||
|
||||
fn sync_status_dot(status: SyncStatus) -> Element<'static, Message> {
|
||||
let color = sync_status_color(status);
|
||||
container(Space::new(8, 8))
|
||||
container(Space::new().width(8).height(8))
|
||||
.style(move |_: &iced::Theme| container::Style {
|
||||
background: Some(Background::Color(color)),
|
||||
border: iced::Border {
|
||||
|
||||
Reference in New Issue
Block a user