Clean up view_release_notes()

This commit is contained in:
Joseph T. Lyons 2024-01-18 08:07:52 -05:00
parent 0a0921f88b
commit 7c5fdb3a44
2 changed files with 19 additions and 15 deletions

View file

@ -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);
}),
)
}
}