fix: hide tips when folder trust dialog is open (#7394)

Co-authored-by: Hriday Taneja <hridayt@google.com>
Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com>
This commit is contained in:
hritan
2025-09-08 16:41:39 +00:00
committed by GitHub
parent 1788f04f5c
commit 78142eab55
4 changed files with 53 additions and 16 deletions
+1 -1
View File
@@ -799,7 +799,7 @@ Logging in with Google... Please restart Gemini CLI to continue.
const [showIdeRestartPrompt, setShowIdeRestartPrompt] = useState(false);
const { isFolderTrustDialogOpen, handleFolderTrustSelect, isRestarting } =
useFolderTrust(settings, config, setIsTrustedFolder);
useFolderTrust(settings, config, setIsTrustedFolder, refreshStatic);
const { needsRestart: ideNeedsRestart } = useIdeTrustListener();
const isInitialMount = useRef(true);