File tree Expand file tree Collapse file tree 5 files changed +9
-16
lines changed
rating/src/main/java/com/maxkeppeler/sheets/rating Expand file tree Collapse file tree 5 files changed +9
-16
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ object App {
22
33 const val ID = " com.mk.sheets.compose"
44
5- const val COMPILE_SDK = 33
5+ const val COMPILE_SDK = 34
66 const val MIN_SDK = 21
7- const val TARGET_SDK = 33
7+ const val TARGET_SDK = 34
88
99 const val VERSION_CODE = 12
1010 const val VERSION_NAME = " 1.2.1"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ object Dependencies {
1010 object Test {
1111 const val TEST_CORE = " androidx.test:core:${Versions .TEST_CORE } "
1212 const val TEST_RUNNER = " androidx.test:runner:${Versions .TEST_RUNNER } "
13- const val JUNIT = " androidx.test.ext:junit:1.1.3 "
13+ const val JUNIT = " androidx.test.ext:junit:1.1.5 "
1414 const val ESPRESSO_CORE = " androidx.test.espresso:espresso-core:${Versions .ESPRESSO_CORE } "
1515 }
1616 }
Original file line number Diff line number Diff line change 11object Versions {
22
33 // Kotlin
4-
54 const val KOTLIN = " 1.8.10"
65
76 // Compose
8-
9- const val COMPOSE_BOM = " 2023.05.01"
10- const val COMPOSE = " 1.4.1"
7+ const val COMPOSE_BOM = " 2024.02.00"
8+ const val COMPOSE = " 1.6.1"
119 const val COMPOSE_COMPILER = " 1.4.3"
1210
1311 // AndroidX
14-
1512 const val CORE = " 1.9.0"
1613 const val RUNTIME = " 2.5.1"
1714 const val COMPOSE_ACTIVITY = " 1.5.0"
18- const val COMPOSE_NAVIGATION = " 2.5.3 "
15+ const val COMPOSE_NAVIGATION = " 2.7.6 "
1916
2017 // Misc
21-
2218 const val GRADLE = " 7.4.2"
2319 const val DESUGAR = " 1.1.5"
2420 const val MAVEN_PUBLISH = " 0.21.0"
25-
2621 const val SNAPPER = " 0.3.0"
27-
2822 const val DOKKA = " 1.8.10"
2923 const val KT_LINT = " 0.47.1"
3024
3125 // Test
32-
3326 const val JUNIT = " 4.13.2"
34- const val ESPRESSO_CORE = " 3.4.0 "
27+ const val ESPRESSO_CORE = " 3.5.1 "
3528 const val TEST_CORE = " 1.5.0"
3629 const val TEST_RUNNER = " 1.5.2"
3730}
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ internal class RatingState(
3838 stateData : RatingStateData ? = null ,
3939) : BaseTypeState() {
4040
41- var rating: Int? by mutableStateOf(stateData?.rating ? : 4 )
41+ var rating: Int? by mutableStateOf(stateData?.rating)
4242 var feedback by mutableStateOf(stateData?.feedback)
4343
4444 var ratingValid by mutableStateOf(isRatingValid())
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ internal fun RatingSelectionView(
6161 space = dimensionResource(RC .dimen.scd_small_50),
6262 alignment = alignment
6363 ),
64- verticalAlignment = Alignment . CenterVertically ,
64+ verticalArrangement = Arrangement . Center ,
6565 maxItemsInEachRow = 6 ,
6666 ) {
6767 (1 .. config.ratingOptionsCount).forEach { optionIndex ->
You can’t perform that action at this time.
0 commit comments