File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
miuix/src/iosMain/kotlin/top/yukonga/miuix/kmp/utils Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ compose.desktop {
168168
169169 buildTypes.release.proguard {
170170 configurationFiles.from(" proguard-rules-jvm.pro" )
171- version.set(" 7.6.0 " )
171+ version.set(" 7.6.1 " )
172172 optimize.set(false )
173173 }
174174
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ android-compileSdk = "35"
44android-targetSdk = " 35"
55
66androidGradlePlugin = " 8.8.0"
7- androidx-activity-compose = " 1.9.3 "
7+ androidx-activity-compose = " 1.10.0 "
88androidx-window = " 1.3.0"
9- compose-plugin = " 1.7.3 "
9+ compose-plugin = " 1.8.0-alpha03 "
1010dokka = " 2.0.0"
1111kotlin = " 2.1.10"
1212
Original file line number Diff line number Diff line change 11package top.yukonga.miuix.kmp.utils
22
33import androidx.compose.runtime.Composable
4+ import androidx.compose.ui.ExperimentalComposeUiApi
45import androidx.compose.ui.platform.LocalDensity
56import androidx.compose.ui.unit.Dp
67import androidx.compose.ui.unit.dp
@@ -24,9 +25,11 @@ actual fun platform(): Platform = Platform.IOS
2425@Composable
2526actual fun getRoundedCorner (): Dp = 0 .dp
2627
28+ @OptIn(ExperimentalComposeUiApi ::class )
2729@Composable
2830actual fun BackHandler (
2931 enabled : Boolean ,
3032 onBack : () -> Unit
3133) {
34+ androidx.compose.ui.backhandler.BackHandler (enabled, onBack)
3235}
You can’t perform that action at this time.
0 commit comments