Skip to content

Commit

Permalink
Rename open popup callback examples for Compose
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-kazantsev committed Jan 31, 2025
1 parent 68f01e0 commit 1dc85c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ import kotlinx.coroutines.launch
* steps to achieve this functionality.
*/
fun main() = singleWindowApplication(
title = "Default `OpenExtensionPopupCallback`",
title = "OpenExtensionPopupCallback",
state = WindowState(size = DpSize(1280.dp, 900.dp))
) {
val engine = remember { Engine(RenderingMode.OFF_SCREEN) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch

/**
* This example demonstrates the default [OpenPopupCallback] implementation
* This example demonstrates the [OpenPopupCallback] implementation
* for Compose UI toolkit.
*
* It creates and shows a new window with the embedded pop-up browser
* each time [OpenPopupCallback] is invoked.
*/
fun main() = singleWindowApplication(title = "Default `OpenPopupCallback`") {
fun main() = singleWindowApplication(title = "OpenPopupCallback") {
val engine = remember { Engine(RenderingMode.OFF_SCREEN) }
val browser = remember { engine.newBrowser() }

Expand Down

0 comments on commit 1dc85c2

Please sign in to comment.