web(mobile): compact composer under 390px and fix stale title draft in chat info
All checks were successful
CI / test (push) Successful in 41s

This commit is contained in:
2026-03-08 19:20:04 +03:00
parent cb59f1063e
commit 67752b9f47
2 changed files with 42 additions and 5 deletions

View File

@@ -116,7 +116,7 @@ export function ChatInfoPanel({ chatId, open, onClose }: Props) {
try {
const detail = await getChatDetail(targetChatId);
setChat(detail);
setTitleDraft((prev) => (prev.trim() ? prev : (detail.title ?? "")));
setTitleDraft(detail.title ?? "");
const notificationSettings = await getChatNotificationSettings(targetChatId);
setMuted(notificationSettings.muted);
if (detail.type === "private" && !detail.is_saved && detail.counterpart_user_id) {