diff options
author | 2024-03-05 21:16:22 +0100 | |
---|---|---|
committer | 2024-03-05 21:16:22 +0100 | |
commit | 330a6252054b729e4d4d3f5a5d09f32e06cec282 (patch) | |
tree | 9dd78f556c514142de71fe5fae37622be3b1eb07 /widget/src/helpers.rs | |
parent | 704ec9cb5cdc1d44f2df2f15de700b0af330b1d7 (diff) | |
download | iced-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.rs | 2 |
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) } |