use is_pinned mutex as the struct option, begin use arc for new structs by default

This commit is contained in:
yggverse 2024-10-08 06:16:06 +03:00
parent 41f0452e26
commit 793d179164
6 changed files with 37 additions and 29 deletions

View file

@ -43,7 +43,7 @@ impl Item {
let id = uuid_string_random();
// Init components
let label = Arc::new(Label::new(id.clone(), false));
let label = Label::new(id.clone(), false);
let page = Arc::new(Page::new(
id.clone(),