mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 12:40:44 +00:00
Sync upstream Gemini-CLI v0.8.2 (#838)
This commit is contained in:
parent
096fabb5d6
commit
eb95c131be
644 changed files with 70389 additions and 23709 deletions
|
|
@ -32,10 +32,6 @@ export interface DialogCloseOptions {
|
|||
// Folder trust dialog
|
||||
isFolderTrustDialogOpen: boolean;
|
||||
|
||||
// Privacy notice
|
||||
showPrivacyNotice: boolean;
|
||||
setShowPrivacyNotice: (show: boolean) => void;
|
||||
|
||||
// Welcome back dialog
|
||||
showWelcomeBackDialog: boolean;
|
||||
handleWelcomeBackClose: () => void;
|
||||
|
|
@ -79,12 +75,6 @@ export function useDialogClose(options: DialogCloseOptions) {
|
|||
return true;
|
||||
}
|
||||
|
||||
if (options.showPrivacyNotice) {
|
||||
// PrivacyNotice uses onExit callback
|
||||
options.setShowPrivacyNotice(false);
|
||||
return true;
|
||||
}
|
||||
|
||||
if (options.showWelcomeBackDialog) {
|
||||
// WelcomeBack has its own close handler
|
||||
options.handleWelcomeBackClose();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue