Rename on_link_clicked to on_link_click
This commit is contained in:
parent
e8020f3eaf
commit
f8c71a20a9
5 changed files with 23 additions and 23 deletions
|
|
@ -276,7 +276,7 @@ impl Generator {
|
|||
..Font::default()
|
||||
}),
|
||||
]
|
||||
.on_link_clicked(Message::OpenPullRequest)
|
||||
.on_link_click(Message::OpenPullRequest)
|
||||
.font(Font::MONOSPACE);
|
||||
|
||||
let description =
|
||||
|
|
|
|||
|
|
@ -265,7 +265,7 @@ struct CustomViewer<'a> {
|
|||
}
|
||||
|
||||
impl<'a> markdown::Viewer<'a, Message> for CustomViewer<'a> {
|
||||
fn on_link_clicked(url: markdown::Url) -> Message {
|
||||
fn on_link_click(url: markdown::Url) -> Message {
|
||||
Message::LinkClicked(url)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue