Skip to content

Commit fe79a9f

Browse files
riggaroogithub-actions[bot]
authored andcommitted
Apply Spotless
1 parent 72a9fca commit fe79a9f

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,11 @@ package com.example.compose.snippets.components
1818

1919
import androidx.compose.foundation.clickable
2020
import androidx.compose.foundation.layout.Arrangement
21-
import androidx.compose.foundation.layout.Column
2221
import androidx.compose.foundation.layout.fillMaxSize
2322
import androidx.compose.foundation.layout.padding
2423
import androidx.compose.foundation.lazy.LazyColumn
2524
import androidx.compose.foundation.lazy.items
26-
import androidx.compose.material3.Button
2725
import androidx.compose.material3.ExperimentalMaterial3Api
28-
import androidx.compose.material3.HorizontalDivider
2926
import androidx.compose.material3.ListItem
3027
import androidx.compose.material3.Scaffold
3128
import androidx.compose.material3.Text
@@ -62,14 +59,13 @@ fun ComponentsScreen(
6259
}
6360
}
6461
})
65-
6662
}
6763

6864
@Composable
6965
fun NavigationItem(destination: TopComponentsDestination, onClick: () -> Unit) {
7066
ListItem(
7167
headlineContent = {
72-
Text(destination.title)
68+
Text(destination.title)
7369
},
7470
modifier = Modifier.clickable {
7571
onClick()

compose/snippets/src/main/java/com/example/compose/snippets/landing/LandingScreen.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,20 @@ package com.example.compose.snippets.landing
1818

1919
import androidx.compose.foundation.clickable
2020
import androidx.compose.foundation.layout.Arrangement
21-
import androidx.compose.foundation.layout.Box
22-
import androidx.compose.foundation.layout.Column
2321
import androidx.compose.foundation.layout.fillMaxSize
24-
import androidx.compose.foundation.layout.fillMaxWidth
2522
import androidx.compose.foundation.layout.heightIn
2623
import androidx.compose.foundation.layout.padding
2724
import androidx.compose.foundation.lazy.LazyColumn
2825
import androidx.compose.foundation.lazy.items
2926
import androidx.compose.material3.ExperimentalMaterial3Api
30-
import androidx.compose.material3.HorizontalDivider
3127
import androidx.compose.material3.ListItem
3228
import androidx.compose.material3.Scaffold
3329
import androidx.compose.material3.Text
3430
import androidx.compose.material3.TopAppBar
3531
import androidx.compose.runtime.Composable
3632
import androidx.compose.ui.Alignment
3733
import androidx.compose.ui.Modifier
38-
import androidx.compose.ui.text.TextStyle
39-
import androidx.compose.ui.text.font.FontWeight
40-
import androidx.compose.ui.text.style.TextAlign
4134
import androidx.compose.ui.unit.dp
42-
import androidx.compose.ui.unit.sp
4335
import com.example.compose.snippets.navigation.Destination
4436

4537
@OptIn(ExperimentalMaterial3Api::class)

0 commit comments

Comments
 (0)