Skip to content

Commit 5ecde53

Browse files
committedFeb 23, 2021
[Jetsurvey] Removing a preview and upgrading to 7154166 snapshot
1 parent 50b2502 commit 5ecde53

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed
 

‎Jetsurvey/app/src/main/java/com/example/compose/jetsurvey/survey/SurveyScreen.kt

-10
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,8 @@ import androidx.compose.ui.res.stringResource
4848
import androidx.compose.ui.text.buildAnnotatedString
4949
import androidx.compose.ui.text.font.FontWeight
5050
import androidx.compose.ui.text.withStyle
51-
import androidx.compose.ui.tooling.preview.Preview
5251
import androidx.compose.ui.unit.dp
5352
import com.example.compose.jetsurvey.R
54-
import com.example.compose.jetsurvey.theme.JetsurveyTheme
5553
import com.example.compose.jetsurvey.theme.progressIndicatorBackground
5654

5755
@Composable
@@ -177,14 +175,6 @@ private fun TopAppBarTitle(
177175
)
178176
}
179177

180-
@Preview
181-
@Composable
182-
fun TAPPreview() {
183-
JetsurveyTheme {
184-
SurveyTopAppBar(questionIndex = 3, totalQuestionsCount = 1, onBackPressed = { })
185-
}
186-
}
187-
188178
@Composable
189179
private fun SurveyTopAppBar(
190180
questionIndex: Int,

‎Jetsurvey/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ subprojects {
7272
jvmTarget = "1.8"
7373
}
7474
}
75+
// Forcing to use the snapshot version
7576
configurations.configureEach {
7677
resolutionStrategy.eachDependency { details ->
7778
if (details.requested.group.startsWith('androidx.compose')) {

‎Jetsurvey/buildSrc/src/main/java/com/example/compose/jetsurvey/buildsrc/dependencies.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ object Libs {
2929
const val material = "com.google.android.material:material:1.1.0"
3030

3131
object Accompanist {
32-
private const val version = "0.5.2.compose-7141639-SNAPSHOT"
32+
private const val version = "0.5.2.compose-7154166-SNAPSHOT"
3333
const val coil = "dev.chrisbanes.accompanist:accompanist-coil:$version"
3434
}
3535

@@ -62,7 +62,7 @@ object Libs {
6262
}
6363

6464
object Compose {
65-
const val snapshot = "7141639"
65+
const val snapshot = "7154166"
6666
const val version = "1.0.0-SNAPSHOT"
6767

6868
@get:JvmStatic

0 commit comments

Comments
 (0)