File tree 2 files changed +3
-3
lines changed
shared/src/commonMain/kotlin/com/kgurgul/cpuinfo/ui/components
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ object AndroidVersions {
5
5
const val COMPILE_SDK = 35
6
6
7
7
private const val VERSION_MAJOR = 6
8
- private const val VERSION_MINOR = 2
9
- private const val VERSION_PATCH = 0
8
+ private const val VERSION_MINOR = 1
9
+ private const val VERSION_PATCH = 1
10
10
11
11
const val VERSION_CODE = VERSION_MAJOR * 10000 + VERSION_MINOR * 100 + VERSION_PATCH
12
12
const val VERSION_NAME = " $VERSION_MAJOR .$VERSION_MINOR .$VERSION_PATCH "
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ private fun calculateElevation(
110
110
actionRowOffset : Float ,
111
111
maxElevation : Dp = 8.dp
112
112
): Dp {
113
- return if (offset.absoluteValue == 0f ) {
113
+ return if (offset.isNaN() || actionRowOffset.isNaN() || offset. absoluteValue == 0f ) {
114
114
0 .dp
115
115
} else {
116
116
(offset.absoluteValue * 100f / actionRowOffset.absoluteValue) / 100f * maxElevation
You can’t perform that action at this time.
0 commit comments