Skip to content

Commit

Permalink
Merge pull request #140 from MohamedRejeb/0.5.x
Browse files Browse the repository at this point in the history
Remove unused beta interop annotation
  • Loading branch information
MohamedRejeb authored Aug 3, 2024
2 parents 58e15b7 + b6190c8 commit 6706752
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.ui.interop.LocalUIViewController
import com.mohamedrejeb.calf.core.InternalCalfApi
import com.mohamedrejeb.calf.io.KmpFile
import kotlinx.cinterop.BetaInteropApi
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.async
import kotlinx.coroutines.awaitAll
Expand Down Expand Up @@ -38,7 +37,6 @@ import platform.UniformTypeIdentifiers.UTTypeVideo
import platform.darwin.NSObject
import kotlin.coroutines.resume

@BetaInteropApi
@Composable
actual fun rememberFilePickerLauncher(
type: FilePickerFileType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.interop.UIKitView
import androidx.compose.ui.unit.dp
import com.mohamedrejeb.calf.core.InternalCalfApi
import kotlinx.cinterop.BetaInteropApi
import kotlinx.cinterop.ExperimentalForeignApi
import platform.UIKit.UIDatePicker

@OptIn(ExperimentalForeignApi::class, ExperimentalMaterial3Api::class, InternalCalfApi::class, BetaInteropApi::class)
@OptIn(ExperimentalForeignApi::class, ExperimentalMaterial3Api::class, InternalCalfApi::class)
@Composable
actual fun AdaptiveDatePicker(
state: AdaptiveDatePickerState,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import platform.darwin.NSObject
* @param onDispose Called when the WebView is destroyed. Provides a bundle which can be saved
* if you need to save and restore state in this WebView.
*/
@OptIn(ExperimentalForeignApi::class, BetaInteropApi::class)
@OptIn(ExperimentalForeignApi::class)
@Composable
actual fun WebView(
state: WebViewState,
Expand Down

0 comments on commit 6706752

Please sign in to comment.