Rename map_irc_message to view_irc_message
This commit is contained in:
parent
03f0ea717a
commit
66a410083e
1 changed files with 2 additions and 2 deletions
|
@ -349,7 +349,7 @@ impl<'a> MessageLog {
|
||||||
let messages = channel
|
let messages = channel
|
||||||
.messages
|
.messages
|
||||||
.iter()
|
.iter()
|
||||||
.flat_map(|irc_message| Self::map_irc_message(current_nickname, irc_message))
|
.flat_map(|irc_message| Self::view_irc_message(current_nickname, irc_message))
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
|
|
||||||
container(column![
|
container(column![
|
||||||
|
@ -375,7 +375,7 @@ impl<'a> MessageLog {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn map_irc_message(
|
fn view_irc_message(
|
||||||
current_nickname: &str,
|
current_nickname: &str,
|
||||||
irc_message: &IrcMessage,
|
irc_message: &IrcMessage,
|
||||||
) -> Option<iced::Element<'a, crate::ui_message::UiMessage>> {
|
) -> Option<iced::Element<'a, crate::ui_message::UiMessage>> {
|
||||||
|
|
Loading…
Reference in a new issue