mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
emit update action on identity logout
This commit is contained in:
parent
483be18b17
commit
e8638a8f24
7 changed files with 64 additions and 39 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue