web(mobile): compact composer under 390px and fix stale title draft in chat info
All checks were successful
CI / test (push) Successful in 41s
All checks were successful
CI / test (push) Successful in 41s
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user