refactor: use system timezone and harden client APIs
This commit is contained in:
@@ -196,7 +196,11 @@ fn render_message_list<T: TdClientTrait>(f: &mut Frame, area: Rect, app: &mut Ap
|
||||
match group {
|
||||
MessageGroup::DateSeparator(date) => {
|
||||
// Рендерим разделитель даты
|
||||
lines.extend(components::render_date_separator(date, content_width, is_first_date));
|
||||
lines.extend(components::render_date_separator(
|
||||
date,
|
||||
content_width,
|
||||
is_first_date,
|
||||
));
|
||||
is_first_date = false;
|
||||
is_first_sender = true; // Сбрасываем счётчик заголовков после даты
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user