emit update action on identity logout

This commit is contained in:
yggverse 2024-12-07 23:44:34 +02:00
parent 483be18b17
commit e8638a8f24
7 changed files with 64 additions and 39 deletions

View file

@ -25,7 +25,11 @@ impl Gemini {
let auth_url = auth_uri.to_string();
// Init widget
let widget = Rc::new(Widget::new(profile.clone(), &auth_url));
let widget = Rc::new(Widget::new(
(action.0.clone(), action.1.clone()),
profile.clone(),
&auth_url,
));
// Init events
widget.on_cancel({