add account profile

This commit is contained in:
Mikhail Kilin
2026-01-27 13:41:29 +03:00
parent ac684da820
commit 356d2d3064
15 changed files with 787 additions and 26 deletions

View File

@@ -310,6 +310,14 @@ fn adjust_entities_for_substring(
}
pub fn render(f: &mut Frame, area: Rect, app: &App) {
// Режим профиля
if app.is_profile_mode() {
if let Some(profile) = &app.profile_info {
crate::ui::profile::render(f, area, app, profile);
}
return;
}
// Режим поиска по сообщениям
if app.is_message_search_mode() {
render_search_mode(f, area, app);