summaryrefslogtreecommitdiffstats
path: root/widget/src/helpers.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-05 21:16:22 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-05 21:16:22 +0100
commit330a6252054b729e4d4d3f5a5d09f32e06cec282 (patch)
tree9dd78f556c514142de71fe5fae37622be3b1eb07 /widget/src/helpers.rs
parent704ec9cb5cdc1d44f2df2f15de700b0af330b1d7 (diff)
downloadiced-330a6252054b729e4d4d3f5a5d09f32e06cec282.tar.gz
iced-330a6252054b729e4d4d3f5a5d09f32e06cec282.tar.bz2
iced-330a6252054b729e4d4d3f5a5d09f32e06cec282.zip
Simplify theming for `QRCode` widget
Diffstat (limited to 'widget/src/helpers.rs')
-rw-r--r--widget/src/helpers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/helpers.rs b/widget/src/helpers.rs
index 2153ed50..8f0dcd5c 100644
--- a/widget/src/helpers.rs
+++ b/widget/src/helpers.rs
@@ -396,7 +396,7 @@ where
#[cfg(feature = "qr_code")]
pub fn qr_code<Theme>(data: &crate::qr_code::Data) -> crate::QRCode<'_, Theme>
where
- Theme: crate::qr_code::StyleSheet,
+ Theme: crate::qr_code::Style,
{
crate::QRCode::new(data)
}