drop Arc from SimpleAction #1

This commit is contained in:
yggverse 2024-10-27 12:50:36 +02:00
parent 08ad677ba4
commit 920721412e
40 changed files with 162 additions and 175 deletions

View file

@ -13,7 +13,7 @@ pub struct Form {
impl Form {
// Construct
pub fn new_arc(
action_send: Arc<SimpleAction>,
action_send: SimpleAction,
title: Option<&str>,
max_length: Option<i32>,
) -> Arc<Self> {

View file

@ -16,7 +16,7 @@ pub struct Widget {
impl Widget {
// Construct
pub fn new_arc(
action_send: Arc<SimpleAction>,
action_send: SimpleAction,
title: Option<&str>,
max_length: Option<i32>,
) -> Arc<Self> {