switch away from handles to refs that must be upgraded once
This commit is contained in:
1 parent
32ca4ec5a6
commit
c00ded78c0
11 files changed
+157
-85
No files matched your search
+1
-1
@@ -18,7 +18,7 @@ impl<State: HasUi + StateLike<State>, WL: WidgetLike<State, Tag>, Tag>
|
||||
) -> impl WidgetIdFn<State, WL::Widget> {
|
||||
|state| {
|
||||
let id = self.add(state);
|
||||
A::run(state, id.weak(), input);
|
||||
A::run(state, id, input);
|
||||
id
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user