From ffc016cf1809df0b98b706052bf7c0ea6d53b7ab Mon Sep 17 00:00:00 2001 From: tdgao Date: Thu, 23 Jul 2026 21:20:30 -0700 Subject: [PATCH] remove open devtools --- apps/app/src/api/ads-consent/controller.js | 1 + apps/app/src/api/ads.rs | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/app/src/api/ads-consent/controller.js b/apps/app/src/api/ads-consent/controller.js index 31b997e611..44b5772278 100644 --- a/apps/app/src/api/ads-consent/controller.js +++ b/apps/app/src/api/ads-consent/controller.js @@ -106,6 +106,7 @@ class AdsConsentController { } else if (this.state.phase === 'submitting-consent' && preSubmissionPhase) { this.state.setState(preSubmissionPhase) this.preSubmissionPhase = null + this.showNativeCmpFallback() } }, SUBMISSION_TIMEOUT) } diff --git a/apps/app/src/api/ads.rs b/apps/app/src/api/ads.rs index 02d90ccf66..53aa4c86aa 100644 --- a/apps/app/src/api/ads.rs +++ b/apps/app/src/api/ads.rs @@ -595,8 +595,6 @@ pub async fn init_ads_window( } })?; - webview.open_devtools(); - Some(webview) } else { None