chore(about): drop license dependency

Not needed since the application can already give URLs to their license
This commit is contained in:
Michael Aaron Murphy 2025-09-30 22:04:32 +02:00 committed by Michael Murphy
parent ee84ad958f
commit df9df40963
3 changed files with 12 additions and 25 deletions

View file

@ -15,11 +15,11 @@ pub struct ContextDrawer<'a, Message: Clone + 'static> {
}
#[cfg(feature = "about")]
pub fn about<Message: Clone + 'static>(
about: &crate::widget::about::About,
on_url_press: impl Fn(String) -> Message,
pub fn about<'a, Message: Clone + 'static>(
about: &'a crate::widget::about::About,
on_url_press: impl Fn(&'a str) -> Message + 'a,
on_close: Message,
) -> ContextDrawer<'_, Message> {
) -> ContextDrawer<'a, Message> {
context_drawer(crate::widget::about(about, on_url_press), on_close)
}