refactor: use system timezone and harden client APIs
This commit is contained in:
@@ -56,7 +56,12 @@ pub fn render<T: TdClientTrait>(f: &mut Frame, area: Rect, app: &App<T>) {
|
||||
if idx > 0 {
|
||||
lines.push(Line::from(""));
|
||||
}
|
||||
lines.extend(render_message_item(msg, idx == selected_index, content_width, 3));
|
||||
lines.extend(render_message_item(
|
||||
msg,
|
||||
idx == selected_index,
|
||||
content_width,
|
||||
3,
|
||||
));
|
||||
}
|
||||
|
||||
if lines.is_empty() {
|
||||
|
||||
Reference in New Issue
Block a user