Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit 75a9f02

Browse files
committed
Code cleanup
1 parent 265d950 commit 75a9f02

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

MotionCompose/app/src/main/java/com/example/android/compose/motion/MainActivity.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package com.example.android.compose.motion
1818

1919
import android.os.Bundle
20-
import android.util.Log
2120
import androidx.activity.ComponentActivity
2221
import androidx.activity.compose.setContent
2322
import androidx.core.view.WindowCompat

MotionCompose/app/src/main/java/com/example/android/compose/motion/demo/custom/CustomCanvasAnimation.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,16 @@ fun CustomCanvasBouncyLoader() {
6363
mutableStateOf(IntSize.Zero)
6464
}
6565
Box(
66-
Modifier.fillMaxSize()
66+
Modifier
67+
.fillMaxSize()
6768
.onSizeChanged {
6869
// We get the size change of the whole composable, and use this to determine how
6970
// big the ball should be.
7071
size.value = it
7172
}) {
7273
GradientCircle(
73-
Modifier.align(Alignment.TopCenter)
74+
Modifier
75+
.align(Alignment.TopCenter)
7476
.size(26.dp)
7577
.graphicsLayer {
7678
// We use .graphicsLayer here to perform the animation as we are animating

0 commit comments

Comments
 (0)