Simplify theming for QRCode widget
This commit is contained in:
parent
704ec9cb5c
commit
330a625205
5 changed files with 48 additions and 84 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue