chore(about): drop license dependency
Not needed since the application can already give URLs to their license
This commit is contained in:
parent
ee84ad958f
commit
df9df40963
3 changed files with 12 additions and 25 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue