renamed the about panel.
This commit is contained in:
parent
8229243386
commit
8aa05bd25a
|
|
@ -2,10 +2,10 @@ use cursive::views::{Dialog, TextView};
|
|||
use cursive::view::ViewWrapper;
|
||||
use cursive::{Printer, View};
|
||||
|
||||
pub fn About() -> Box<dyn View> {
|
||||
pub fn about() -> Box<dyn View> {
|
||||
Box::new(
|
||||
Dialog::new()
|
||||
.content("rust chat server written by Mitchel Hardie & Michael Bailey (c) 2020")
|
||||
.content(TextView::new("rust chat server written by Mitchel Hardie & Michael Bailey (c) 2020"))
|
||||
.button("Close", |s| {s.pop_layer();})
|
||||
)
|
||||
}
|
||||
Loading…
Reference in New Issue