added a comment
This commit is contained in:
parent
e050cb568c
commit
a8c7733c0a
@ -11,6 +11,7 @@ pub struct WelcomeMessage<'a> {
|
|||||||
|
|
||||||
impl<'a> WelcomeMessage<'a> {
|
impl<'a> WelcomeMessage<'a> {
|
||||||
pub fn new(editor: &'a Editor<'a>) -> Self {
|
pub fn new(editor: &'a Editor<'a>) -> Self {
|
||||||
|
// The title message
|
||||||
let title = format!("{} {}", editor.config.logo, editor.config.friendly_name);
|
let title = format!("{} {}", editor.config.logo, editor.config.friendly_name);
|
||||||
|
|
||||||
// The welcome message
|
// The welcome message
|
||||||
|
Loading…
Reference in New Issue
Block a user