Update to modalkit{,-ratatui}@0.0.19 (#273)

This commit is contained in:
Ulyssa 2024-04-23 23:30:01 -07:00 committed by GitHub
parent 3971801aa3
commit 46f6d37f76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 316 additions and 89 deletions

View file

@ -148,7 +148,7 @@ impl RoomState {
let l2 = Line::from(
"You can run `:invite accept` or `:invite reject` to accept or reject this invitation.",
);
let text = Text { lines: vec![l1, l2] };
let text = Text::from(vec![l1, l2]);
Paragraph::new(text).alignment(Alignment::Center).render(area, buf);