7 files changed +13
-28
lines changed Original file line number Diff line number Diff line change @@ -287,12 +287,12 @@ private fun JetsnackBottomNavItemLayout(
287
287
modifier = Modifier
288
288
.layoutId(" text" )
289
289
.padding(start = TextIconSpacing )
290
- .graphicsLayer(
291
- alpha = animationProgress,
292
- scaleX = scale,
293
- scaleY = scale,
290
+ .graphicsLayer {
291
+ alpha = animationProgress
292
+ scaleX = scale
293
+ scaleY = scale
294
294
transformOrigin = BottomNavLabelTransformOrigin
295
- ) ,
295
+ } ,
296
296
content = text
297
297
)
298
298
}
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ private fun Title(snack: Snack, scroll: Float) {
218
218
modifier = Modifier
219
219
.preferredHeightIn(min = TitleHeight )
220
220
.statusBarsPadding()
221
- .graphicsLayer( translationY = offset)
221
+ .graphicsLayer { translationY = offset }
222
222
.background(color = JetsnackTheme .colors.uiBackground)
223
223
) {
224
224
Spacer (Modifier .preferredHeight(16 .dp))
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ object Libs {
25
25
const val junit = " junit:junit:4.13"
26
26
27
27
object Accompanist {
28
- private const val version = " 0.3.4.compose-6994167 -SNAPSHOT"
28
+ private const val version = " 0.3.4.compose-7001724 -SNAPSHOT"
29
29
const val coil = " dev.chrisbanes.accompanist:accompanist-coil:$version "
30
30
const val insets = " dev.chrisbanes.accompanist:accompanist-insets:$version "
31
31
}
@@ -48,7 +48,7 @@ object Libs {
48
48
const val coreKtx = " androidx.core:core-ktx:1.5.0-alpha04"
49
49
50
50
object Compose {
51
- const val snapshot = " 6994167 "
51
+ const val snapshot = " 7001724 "
52
52
const val version = " 1.0.0-SNAPSHOT"
53
53
54
54
const val foundation = " androidx.compose.foundation:foundation:${version} "
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-6.7-bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.7.1 -bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 130
130
if [ " $cygwin " = " true" -o " $msys " = " true" ] ; then
131
131
APP_HOME=` cygpath --path --mixed " $APP_HOME " `
132
132
CLASSPATH=` cygpath --path --mixed " $CLASSPATH " `
133
-
133
+
134
134
JAVACMD=` cygpath --unix " $JAVACMD " `
135
135
136
136
# We build the pattern for arguments to be converted via cygpath
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
40
40
41
41
set JAVA_EXE = java.exe
42
42
%JAVA_EXE% -version > NUL 2 >& 1
43
- if " %ERRORLEVEL% " == " 0" goto init
43
+ if " %ERRORLEVEL% " == " 0" goto execute
44
44
45
45
echo .
46
46
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@@ -54,7 +54,7 @@ goto fail
54
54
set JAVA_HOME = %JAVA_HOME:" =%
55
55
set JAVA_EXE = %JAVA_HOME% /bin/java.exe
56
56
57
- if exist " %JAVA_EXE% " goto init
57
+ if exist " %JAVA_EXE% " goto execute
58
58
59
59
echo .
60
60
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
@@ -64,29 +64,14 @@ echo location of your Java installation.
64
64
65
65
goto fail
66
66
67
- :init
68
- @ rem Get command-line arguments, handling Windows variants
69
-
70
- if not " %OS% " == " Windows_NT" goto win9xME_args
71
-
72
- :win9xME_args
73
- @ rem Slurp the command line arguments.
74
- set CMD_LINE_ARGS =
75
- set _SKIP = 2
76
-
77
- :win9xME_args_slurp
78
- if " x%~1 " == " x" goto execute
79
-
80
- set CMD_LINE_ARGS = %*
81
-
82
67
:execute
83
68
@ rem Setup the command line
84
69
85
70
set CLASSPATH = %APP_HOME% \gradle\wrapper\gradle-wrapper.jar
86
71
87
72
88
73
@ rem Execute Gradle
89
- " %JAVA_EXE% " %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% " -Dorg.gradle.appname=%APP_BASE_NAME% " -classpath " %CLASSPATH% " org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
74
+ " %JAVA_EXE% " %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% " -Dorg.gradle.appname=%APP_BASE_NAME% " -classpath " %CLASSPATH% " org.gradle.wrapper.GradleWrapperMain %*
90
75
91
76
:end
92
77
@ rem End local scope for the variables with windows NT shell
0 commit comments