Separate conversation drafts and voice view state, add native settings and restricted CSS themes, implement validated avatar cropping, and refresh dependencies with documented desktop compatibility backports.
68 lines
1.8 KiB
Diff
68 lines
1.8 KiB
Diff
--- a/sctk-adwaita/Cargo.toml
|
|
+++ b/sctk-adwaita/Cargo.toml
|
|
@@ -26,7 +26,7 @@
|
|
optional = true
|
|
|
|
[dependencies.crossfont]
|
|
-version = "0.8.0"
|
|
+version = "0.9"
|
|
optional = true
|
|
|
|
[dependencies.log]
|
|
--- a/sctk-adwaita/src/parts.rs
|
|
+++ b/sctk-adwaita/src/parts.rs
|
|
@@ -128,7 +128,7 @@
|
|
Self { parts }
|
|
}
|
|
|
|
- pub fn parts(&self) -> std::iter::Enumerate<std::slice::Iter<Part>> {
|
|
+ pub fn parts(&self) -> std::iter::Enumerate<std::slice::Iter<'_, Part>> {
|
|
self.parts.iter().enumerate()
|
|
}
|
|
|
|
--- a/sctk-adwaita/src/theme.rs
|
|
+++ b/sctk-adwaita/src/theme.rs
|
|
@@ -99,7 +99,7 @@
|
|
}
|
|
|
|
impl ColorMap {
|
|
- pub(crate) fn headerbar_paint(&self) -> Paint {
|
|
+ pub(crate) fn headerbar_paint(&self) -> Paint<'_> {
|
|
Paint {
|
|
shader: Shader::SolidColor(self.headerbar),
|
|
anti_alias: true,
|
|
@@ -107,7 +107,7 @@
|
|
}
|
|
}
|
|
|
|
- pub(crate) fn button_idle_paint(&self) -> Paint {
|
|
+ pub(crate) fn button_idle_paint(&self) -> Paint<'_> {
|
|
Paint {
|
|
shader: Shader::SolidColor(self.button_idle),
|
|
anti_alias: true,
|
|
@@ -115,7 +115,7 @@
|
|
}
|
|
}
|
|
|
|
- pub(crate) fn button_hover_paint(&self) -> Paint {
|
|
+ pub(crate) fn button_hover_paint(&self) -> Paint<'_> {
|
|
Paint {
|
|
shader: Shader::SolidColor(self.button_hover),
|
|
anti_alias: true,
|
|
@@ -123,14 +123,14 @@
|
|
}
|
|
}
|
|
|
|
- pub(crate) fn button_icon_paint(&self) -> Paint {
|
|
+ pub(crate) fn button_icon_paint(&self) -> Paint<'_> {
|
|
Paint {
|
|
shader: Shader::SolidColor(self.button_icon),
|
|
..Default::default()
|
|
}
|
|
}
|
|
|
|
- pub(crate) fn border_paint(&self) -> Paint {
|
|
+ pub(crate) fn border_paint(&self) -> Paint<'_> {
|
|
Paint {
|
|
shader: Shader::SolidColor(self.border_color),
|
|
..Default::default()
|