File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,6 @@ kotlin {
8484 implementation(compose.material3)
8585 implementation(compose.ui)
8686 implementation(compose.components.resources)
87- implementation(compose.components.uiToolingPreview)
8887
8988 implementation(project(" :miuix" ))
9089 }
@@ -151,16 +150,16 @@ android {
151150 if (keystorePath != null ) signingConfig = signingConfigs.getByName(" github" )
152151 }
153152 }
154-
155- dependencies {
156- debugImplementation(compose.uiTooling)
157- }
158153}
159154
160155compose.desktop {
161156 application {
162157 mainClass = " MainKt"
163158
159+ buildTypes.release.proguard {
160+ configurationFiles.from(" proguard-rules-jvm.pro" )
161+ }
162+
164163 nativeDistributions {
165164 targetFormats(TargetFormat .Dmg , TargetFormat .Msi , TargetFormat .Deb )
166165 packageName = appName
Original file line number Diff line number Diff line change 1+ -dontwarn kotlinx.datetime.**
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import androidx.compose.animation.fadeOut
66import androidx.compose.animation.shrinkHorizontally
77import androidx.compose.animation.shrinkVertically
88import androidx.compose.foundation.layout.PaddingValues
9+ import androidx.compose.foundation.layout.captionBarPadding
910import androidx.compose.foundation.layout.fillMaxSize
1011import androidx.compose.foundation.layout.imePadding
1112import androidx.compose.foundation.layout.padding
@@ -165,7 +166,8 @@ fun UITest(
165166 FPSMonitor (
166167 modifier = Modifier
167168 .statusBarsPadding()
168- .padding(start = 28 .dp, top = 18 .dp)
169+ .captionBarPadding()
170+ .padding(horizontal = 4 .dp)
169171 )
170172 }
171173}
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ import top.yukonga.miuix.kmp.theme.MiuixTheme
3232
3333@Composable
3434fun OtherComponent (padding : PaddingValues ) {
35-
3635 var buttonText by remember { mutableStateOf(" Cancel" ) }
3736 var submitButtonText by remember { mutableStateOf(" Submit" ) }
3837 var clickCount by remember { mutableStateOf(0 ) }
You can’t perform that action at this time.
0 commit comments