mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 12:05:53 +00:00
remove open devtools
This commit is contained in:
@@ -106,6 +106,7 @@ class AdsConsentController {
|
|||||||
} else if (this.state.phase === 'submitting-consent' && preSubmissionPhase) {
|
} else if (this.state.phase === 'submitting-consent' && preSubmissionPhase) {
|
||||||
this.state.setState(preSubmissionPhase)
|
this.state.setState(preSubmissionPhase)
|
||||||
this.preSubmissionPhase = null
|
this.preSubmissionPhase = null
|
||||||
|
this.showNativeCmpFallback()
|
||||||
}
|
}
|
||||||
}, SUBMISSION_TIMEOUT)
|
}, SUBMISSION_TIMEOUT)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -595,8 +595,6 @@ pub async fn init_ads_window<R: Runtime>(
|
|||||||
}
|
}
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
webview.open_devtools();
|
|
||||||
|
|
||||||
Some(webview)
|
Some(webview)
|
||||||
} else {
|
} else {
|
||||||
None
|
None
|
||||||
|
|||||||
Reference in New Issue
Block a user