diff --git a/build-logic/src/main/kotlin/com/titi/common/BuildInfo.kt b/build-logic/src/main/kotlin/com/titi/common/BuildInfo.kt index f82b8554..e7f08ca4 100644 --- a/build-logic/src/main/kotlin/com/titi/common/BuildInfo.kt +++ b/build-logic/src/main/kotlin/com/titi/common/BuildInfo.kt @@ -9,7 +9,7 @@ object BuildType { object AppConfig { const val APP_ID = "com.titi.app" - const val APP_VERSION_NAME = "1.4.1" - const val APP_VERSION_CODE = 41 + const val APP_VERSION_NAME = "1.4.2" + const val APP_VERSION_CODE = 42 const val APP_NAME = "TiTi" } \ No newline at end of file diff --git a/core/designsystem/src/main/kotlin/com/titi/app/core/designsystem/component/TdsTimeLineChart.kt b/core/designsystem/src/main/kotlin/com/titi/app/core/designsystem/component/TdsTimeLineChart.kt index 5a0f69aa..ef57cc14 100644 --- a/core/designsystem/src/main/kotlin/com/titi/app/core/designsystem/component/TdsTimeLineChart.kt +++ b/core/designsystem/src/main/kotlin/com/titi/app/core/designsystem/component/TdsTimeLineChart.kt @@ -67,7 +67,9 @@ fun TdsTimeLineChart( if (isCircleDraw) { Canvas(modifier = Modifier.size(itemWidth)) { drawCircle( - color = currentStartColor.copy(alpha = time / 3600f), + color = currentStartColor.copy( + alpha = (time / 3600f).coerceAtMost(1f), + ), radius = itemWidth.toPx() * 0.45f, ) } diff --git a/release-note.txt b/release-note.txt index 2f9a5ac4..a2f12fb2 100644 --- a/release-note.txt +++ b/release-note.txt @@ -1,3 +1,2 @@ -TiTi android 1.4.1 -- Chinese font -- Animation spec \ No newline at end of file +TiTi android 1.4.2 +- fix alpha over 1f \ No newline at end of file