File tree 3 files changed +3
-12
lines changed
app/src/main/java/com/example/compose/jetsurvey/survey
buildSrc/src/main/java/com/example/compose/jetsurvey/buildsrc
3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,8 @@ import androidx.compose.ui.res.stringResource
48
48
import androidx.compose.ui.text.buildAnnotatedString
49
49
import androidx.compose.ui.text.font.FontWeight
50
50
import androidx.compose.ui.text.withStyle
51
- import androidx.compose.ui.tooling.preview.Preview
52
51
import androidx.compose.ui.unit.dp
53
52
import com.example.compose.jetsurvey.R
54
- import com.example.compose.jetsurvey.theme.JetsurveyTheme
55
53
import com.example.compose.jetsurvey.theme.progressIndicatorBackground
56
54
57
55
@Composable
@@ -177,14 +175,6 @@ private fun TopAppBarTitle(
177
175
)
178
176
}
179
177
180
- @Preview
181
- @Composable
182
- fun TAPPreview () {
183
- JetsurveyTheme {
184
- SurveyTopAppBar (questionIndex = 3 , totalQuestionsCount = 1 , onBackPressed = { })
185
- }
186
- }
187
-
188
178
@Composable
189
179
private fun SurveyTopAppBar (
190
180
questionIndex : Int ,
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ subprojects {
72
72
jvmTarget = " 1.8"
73
73
}
74
74
}
75
+ // Forcing to use the snapshot version
75
76
configurations. configureEach {
76
77
resolutionStrategy. eachDependency { details ->
77
78
if (details. requested. group. startsWith(' androidx.compose' )) {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ object Libs {
29
29
const val material = " com.google.android.material:material:1.1.0"
30
30
31
31
object Accompanist {
32
- private const val version = " 0.5.2.compose-7141639 -SNAPSHOT"
32
+ private const val version = " 0.5.2.compose-7154166 -SNAPSHOT"
33
33
const val coil = " dev.chrisbanes.accompanist:accompanist-coil:$version "
34
34
}
35
35
@@ -62,7 +62,7 @@ object Libs {
62
62
}
63
63
64
64
object Compose {
65
- const val snapshot = " 7141639 "
65
+ const val snapshot = " 7154166 "
66
66
const val version = " 1.0.0-SNAPSHOT"
67
67
68
68
@get:JvmStatic
You can’t perform that action at this time.
0 commit comments