chore: remove once_cell dependency
This commit is contained in:
parent
b156087fcf
commit
0e8c3fe30f
20 changed files with 80 additions and 96 deletions
|
|
@ -1706,11 +1706,12 @@ where
|
|||
+ 'a,
|
||||
Theme: text::Catalog + crate::svg::Catalog + 'a,
|
||||
{
|
||||
use std::sync::LazyLock;
|
||||
|
||||
use crate::core::{Alignment, Font};
|
||||
use crate::svg;
|
||||
use once_cell::sync::Lazy;
|
||||
|
||||
static LOGO: Lazy<svg::Handle> = Lazy::new(|| {
|
||||
static LOGO: LazyLock<svg::Handle> = LazyLock::new(|| {
|
||||
svg::Handle::from_memory(include_bytes!("../assets/iced-logo.svg"))
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue