diff --git a/client/ui/app-state/UserOrChatInfoDialog.tsx b/client/ui/app-state/UserOrChatInfoDialog.tsx index 2558b05..d4303d8 100644 --- a/client/ui/app-state/UserOrChatInfoDialog.tsx +++ b/client/ui/app-state/UserOrChatInfoDialog.tsx @@ -78,6 +78,8 @@ export default function UserOrChatInfoDialog({ chat, useRef }: { chat?: Chat, us !isMySelf && dialog({ headline: favourited ? "取消收藏对话" : "收藏对话", description: favourited ? "确定从收藏对话列表中移除吗? (虽然这不会导致聊天记录丢失)" : "确定要添加到收藏对话列表吗?", + closeOnEsc: true, + closeOnOverlayClick: true, actions: [ { text: "取消",