Skip to content

Commit 350dd61

Browse files
wardlaurengithub-actions[bot]
authored andcommitted
Apply Spotless
1 parent fc37f3c commit 350dd61

File tree

1 file changed

+22
-6
lines changed
  • compose/snippets/src/main/java/com/example/compose/snippets/components

1 file changed

+22
-6
lines changed

compose/snippets/src/main/java/com/example/compose/snippets/components/IconButton.kt

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2025 The Android Open Source Project
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package com.example.compose.snippets.components
218

319
import androidx.compose.foundation.interaction.MutableInteractionSource
@@ -6,6 +22,8 @@ import androidx.compose.foundation.layout.Row
622
import androidx.compose.foundation.layout.Spacer
723
import androidx.compose.foundation.layout.fillMaxWidth
824
import androidx.compose.material.icons.Icons
25+
import androidx.compose.material.icons.filled.FastForward
26+
import androidx.compose.material.icons.filled.FastRewind
927
import androidx.compose.material.icons.filled.Favorite
1028
import androidx.compose.material.icons.outlined.FastForward
1129
import androidx.compose.material.icons.outlined.FastRewind
@@ -15,20 +33,18 @@ import androidx.compose.material3.IconButton
1533
import androidx.compose.material3.Text
1634
import androidx.compose.runtime.Composable
1735
import androidx.compose.runtime.LaunchedEffect
36+
import androidx.compose.runtime.getValue
37+
import androidx.compose.runtime.mutableIntStateOf
38+
import androidx.compose.runtime.mutableStateOf
1839
import androidx.compose.runtime.remember
1940
import androidx.compose.runtime.rememberUpdatedState
2041
import androidx.compose.runtime.saveable.rememberSaveable
42+
import androidx.compose.runtime.setValue
2143
import androidx.compose.ui.Alignment
2244
import androidx.compose.ui.Modifier
2345
import androidx.compose.ui.graphics.vector.ImageVector
2446
import androidx.compose.ui.tooling.preview.Preview
2547
import kotlinx.coroutines.delay
26-
import androidx.compose.runtime.getValue
27-
import androidx.compose.runtime.setValue
28-
import androidx.compose.runtime.mutableStateOf
29-
import androidx.compose.runtime.mutableIntStateOf
30-
import androidx.compose.material.icons.filled.FastRewind
31-
import androidx.compose.material.icons.filled.FastForward
3248

3349
@Preview
3450
@Composable

0 commit comments

Comments
 (0)