mirror of
https://github.com/youwen5/iamb.git
synced 2025-06-20 21:59:52 -07:00
Update to modalkit{,-ratatui}@0.0.19 (#273)
This commit is contained in:
parent
3971801aa3
commit
46f6d37f76
7 changed files with 316 additions and 89 deletions
|
@ -1368,7 +1368,7 @@ impl ListItem<IambInfo> for VerifyItem {
|
|||
]));
|
||||
}
|
||||
|
||||
Text { lines }
|
||||
Text::from(lines)
|
||||
}
|
||||
|
||||
fn get_word(&self) -> Option<String> {
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ impl<'a> StatefulWidget for Space<'a> {
|
|||
Span::styled(e.to_string(), Style::default().fg(Color::Red)).into(),
|
||||
];
|
||||
|
||||
empty_message = Text { lines }.into();
|
||||
empty_message = Text::from(lines).into();
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue