Skip to content

Commit 54ac8a6

Browse files
committed
Set WebView's background color to white in demo application
1 parent e9f751f commit 54ac8a6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • demo-shared/src/commonMain/kotlin/io/github/kdroidfilter/webview/demo

demo-shared/src/commonMain/kotlin/io/github/kdroidfilter/webview/demo/App.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ fun App() {
8080
rememberWebViewState("https://httpbin.org/html") {
8181
logSeverity = KLogSeverity.Info
8282
desktopWebSettings.transparent = true
83+
backgroundColor = androidx.compose.ui.graphics.Color.White
8384
}
8485
val jsBridge = rememberWebViewJsBridge(navigator)
8586

0 commit comments

Comments
 (0)