Skip to content

Commit 73c7581

Browse files
committed
build(deps): bump miuix from 0.9.0 to 0.9.2
1 parent 7a0b10f commit 73c7581

9 files changed

Lines changed: 24 additions & 38 deletions

File tree

gradle/libs.versions.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[versions]
2-
android-gradle-plugin = "9.1.0"
2+
android-gradle-plugin = "9.2.1"
33
androidx-activity-compose = "1.13.0"
44
androidx-lifecycle-compose = "2.10.0"
5-
compose-plugin = "1.10.3"
6-
jna = "5.18.1"
7-
kotlin = "2.3.20"
8-
miuix = "0.9.0"
5+
compose-plugin = "1.11.1"
6+
jna = "5.19.0"
7+
kotlin = "2.4.0"
8+
miuix = "0.9.2"
99

1010
[libraries]
1111
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activity-compose" }

gradle/wrapper/gradle-wrapper.jar

-504 Bytes
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-bin.zip
44
networkTimeout=10000
5+
retries=0
6+
retryBackOffMs=500
57
validateDistributionUrl=true
68
zipStoreBase=GRADLE_USER_HOME
79
zipStorePath=wrapper/dists

gradlew

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 10 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ dependencyResolutionManagement {
3232
}
3333

3434
plugins {
35-
id("com.android.settings") version ("8.13.2")
3635
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
3736
}
3837

shared/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111
}
1212

1313
val generatedSrcDir = layout.buildDirectory.dir("generated").get().asFile.resolve("fontWeightTest")
14-
val unicodeVersion = "17.0.0"
14+
val unicodeVersion = "18.0.0"
1515
val unicodeDraftBaseUrl = "https://unicode.org/Public/draft/ucd"
1616
val unicodeBaseUrl = "https://unicode.org/Public/$unicodeVersion/ucd"
1717
val coverageResourceDir = projectDir.resolve("src/commonMain/composeResources/files")

shared/src/commonMain/kotlin/top/yukonga/fontWeightTest/App.kt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ import androidx.compose.runtime.staticCompositionLocalOf
2626
import androidx.compose.ui.Modifier
2727
import androidx.compose.ui.graphics.Color
2828
import androidx.compose.ui.graphics.RectangleShape
29-
import androidx.compose.ui.platform.LocalDensity
30-
import androidx.compose.ui.unit.dp
3129
import fontweighttest.shared.generated.resources.Res
3230
import fontweighttest.shared.generated.resources.home
3331
import fontweighttest.shared.generated.resources.monospace
@@ -56,7 +54,7 @@ import top.yukonga.miuix.kmp.basic.ScrollBehavior
5654
import top.yukonga.miuix.kmp.blur.BlendColorEntry
5755
import top.yukonga.miuix.kmp.blur.BlurColors
5856
import top.yukonga.miuix.kmp.blur.LayerBackdrop
59-
import top.yukonga.miuix.kmp.blur.isRenderEffectSupported
57+
import top.yukonga.miuix.kmp.blur.isRuntimeShaderSupported
6058
import top.yukonga.miuix.kmp.blur.layerBackdrop
6159
import top.yukonga.miuix.kmp.blur.rememberLayerBackdrop
6260
import top.yukonga.miuix.kmp.blur.textureBlur
@@ -94,7 +92,7 @@ fun App(
9492
LocalMainPagerState provides mainPagerState,
9593
) {
9694
val page by remember { derivedStateOf { pagerState.targetPage } }
97-
val blurSupported = isRenderEffectSupported()
95+
val blurSupported = isRuntimeShaderSupported()
9896
Scaffold(
9997
modifier = Modifier.fillMaxSize(),
10098
bottomBar = {
@@ -104,7 +102,6 @@ fun App(
104102
Modifier
105103
.textureBlur(
106104
backdrop = backdrop,
107-
blurRadius = 25f * LocalDensity.current.density,
108105
shape = RectangleShape,
109106
colors = BlurColors(
110107
blendColors = listOf(

shared/src/commonMain/kotlin/top/yukonga/fontWeightTest/ui/components/PageTopAppBar.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import top.yukonga.miuix.kmp.basic.TopAppBar
1414
import top.yukonga.miuix.kmp.blur.Backdrop
1515
import top.yukonga.miuix.kmp.blur.BlendColorEntry
1616
import top.yukonga.miuix.kmp.blur.BlurColors
17-
import top.yukonga.miuix.kmp.blur.isRenderEffectSupported
17+
import top.yukonga.miuix.kmp.blur.isRuntimeShaderSupported
1818
import top.yukonga.miuix.kmp.blur.textureBlur
1919
import top.yukonga.miuix.kmp.theme.MiuixTheme
2020

@@ -24,15 +24,14 @@ fun PageTopAppBar(
2424
scrollBehavior: ScrollBehavior,
2525
backdrop: Backdrop
2626
) {
27-
val blurSupported = isRenderEffectSupported()
27+
val blurSupported = isRuntimeShaderSupported()
2828
val topBarColor = if (blurSupported) Color.Transparent else MiuixTheme.colorScheme.surface
2929
BoxWithConstraints {
3030
val isCompact = maxWidth < 768.dp
3131
val modifier = if (blurSupported) {
3232
Modifier
3333
.textureBlur(
3434
backdrop = backdrop,
35-
blurRadius = 25f * LocalDensity.current.density,
3635
shape = RectangleShape,
3736
colors = BlurColors(
3837
blendColors = listOf(

0 commit comments

Comments
 (0)