Clean up view_release_notes()
This commit is contained in:
parent
0a0921f88b
commit
7c5fdb3a44
2 changed files with 19 additions and 15 deletions
|
@ -40,7 +40,9 @@ impl Render for UpdateNotification {
|
|||
.id("notes")
|
||||
.child(Label::new("View the release notes"))
|
||||
.cursor_pointer()
|
||||
.on_click(|_, cx| crate::view_release_notes(&Default::default(), cx)),
|
||||
.on_click(|_, cx| {
|
||||
crate::view_release_notes(&Default::default(), cx);
|
||||
}),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue