Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mahozad committed Feb 11, 2024
1 parent 480bbe8 commit 249e820
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import java.util.concurrent.CountDownLatch
import java.util.concurrent.TimeUnit
import kotlin.math.roundToInt


// The compose-multiplatform-core implementation for Android:
// https://github.com/JetBrains/compose-multiplatform-core/blob/jb-main/compose/ui/ui-test/src/androidMain/kotlin/androidx/compose/ui/test/AndroidImageHelpers.android.kt
// https://github.com/JetBrains/compose-multiplatform-core/blob/jb-main/compose/ui/ui-test/src/androidMain/kotlin/androidx/compose/ui/test/android/WindowCapture.android.kt
Expand All @@ -38,7 +37,9 @@ actual fun initializeeeeeee(): Unit = TODO()

actual fun setContenttt(content: @Composable () -> Unit): Unit = TODO()

actual fun captureToImageeee(content: @Composable () -> Unit): ImageBitmap = TODO()
actual fun captureToImageeee(content: @Composable () -> Unit): ImageBitmap {
error("Use the Activity.captureToImageeee instead")
}

fun Activity.captureToImageeee(comcon: CompositionContext, content: @Composable () -> Unit): ImageBitmap {
//////////////////////////////////////////////////
Expand Down

0 comments on commit 249e820

Please sign in to comment.