Andrew Collins %!s(int64=2) %!d(string=hai) anos
pai
achega
64575eaee2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/desktop/src/lib.rs

+ 1 - 1
packages/desktop/src/lib.rs

@@ -248,7 +248,7 @@ pub fn launch_with_props<P: 'static>(root: Component<P>, props: P, cfg: Config)
                     webviews[&event.1]
                         .dom
                         .base_scope()
-                        .consume_context::<DesktopContext>()
+                        .consume_context::<Rc<DesktopContext>>()
                         .unwrap()
                         .eval
                         .send(msg.params())