Skip to content

Commit 8b1723c

Browse files
committed
Remove printlns
1 parent dff216f commit 8b1723c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

composeApp/src/desktopMain/kotlin/org/ooni/probe/ui/shared/OoniWebView.desktop.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ actual fun OoniWebView(
2424
factory = {
2525
controller.state = OoniWebViewController.State.Initializing
2626

27-
println("webview: factory")
2827
JFXPanel().apply {
2928
Platform.setImplicitExit(false) // Otherwise, webView will not show the second time
3029
Platform.runLater {
31-
println("webview: factory runLater")
3230

3331
val webView = WebView().apply {
3432
isVisible = true
@@ -101,9 +99,7 @@ actual fun OoniWebView(
10199
},
102100
modifier = modifier,
103101
update = { jfxPanel ->
104-
println("webview: update")
105102
Platform.runLater {
106-
println("webview: update runLater")
107103
val root = jfxPanel.scene?.root as? StackPane
108104
val webView = (root?.children?.get(0) as? WebView) ?: return@runLater
109105
when (event) {
@@ -113,7 +109,6 @@ actual fun OoniWebView(
113109
}
114110
// Hack to send HTTP headers by taking advantage of userAgent
115111
webView.engine.userAgent = "ooni$headers"
116-
println("webview: Loading: ${event.url}")
117112
webView.engine.load(event.url)
118113
}
119114

0 commit comments

Comments
 (0)