Skip to content

Commit bf58090

Browse files
committed
Remove unneeded imports
1 parent 20f6c4b commit bf58090

File tree

1 file changed

+8
-11
lines changed
  • compose/snippets/src/main/java/com/example/compose/snippets/components

1 file changed

+8
-11
lines changed

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

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,14 @@ import androidx.compose.foundation.layout.fillMaxSize
2222
import androidx.compose.foundation.layout.fillMaxWidth
2323
import androidx.compose.foundation.layout.padding
2424
import androidx.compose.material.icons.Icons
25-
import androidx.compose.material.icons.automirrored.filled.Help
26-
import androidx.compose.material.icons.automirrored.filled.OpenInNew
27-
import androidx.compose.material.icons.automirrored.filled.Send
2825
import androidx.compose.material.icons.automirrored.outlined.Help
2926
import androidx.compose.material.icons.automirrored.outlined.OpenInNew
3027
import androidx.compose.material.icons.automirrored.outlined.Send
31-
import androidx.compose.material.icons.filled.Feedback
32-
import androidx.compose.material.icons.filled.Info
3328
import androidx.compose.material.icons.filled.MoreVert
34-
import androidx.compose.material.icons.filled.Person
35-
import androidx.compose.material.icons.filled.Settings
29+
import androidx.compose.material.icons.outlined.Feedback
30+
import androidx.compose.material.icons.outlined.Info
31+
import androidx.compose.material.icons.outlined.Person
32+
import androidx.compose.material.icons.outlined.Settings
3633
import androidx.compose.material3.Button
3734
import androidx.compose.material3.DropdownMenu
3835
import androidx.compose.material3.DropdownMenuItem
@@ -172,12 +169,12 @@ fun DropdownMenuWithDetails() {
172169
// First section
173170
DropdownMenuItem(
174171
text = { Text("Profile") },
175-
leadingIcon = { Icon(Icons.Default.Person, contentDescription = null) },
172+
leadingIcon = { Icon(Icons.Outlined.Person, contentDescription = null) },
176173
onClick = { /* Do something... */ }
177174
)
178175
DropdownMenuItem(
179176
text = { Text("Settings") },
180-
leadingIcon = { Icon(Icons.Default.Settings, contentDescription = null) },
177+
leadingIcon = { Icon(Icons.Outlined.Settings, contentDescription = null) },
181178
onClick = { /* Do something... */ }
182179
)
183180

@@ -186,7 +183,7 @@ fun DropdownMenuWithDetails() {
186183
// Second section
187184
DropdownMenuItem(
188185
text = { Text("Send Feedback") },
189-
leadingIcon = { Icon(Icons.Default.Feedback, contentDescription = null) },
186+
leadingIcon = { Icon(Icons.Outlined.Feedback, contentDescription = null) },
190187
trailingIcon = { Icon(Icons.AutoMirrored.Outlined.Send, contentDescription = null) },
191188
onClick = { /* Do something... */ }
192189
)
@@ -196,7 +193,7 @@ fun DropdownMenuWithDetails() {
196193
// Third section
197194
DropdownMenuItem(
198195
text = { Text("About") },
199-
leadingIcon = { Icon(Icons.Default.Info, contentDescription = null) },
196+
leadingIcon = { Icon(Icons.Outlined.Info, contentDescription = null) },
200197
onClick = { /* Do something... */ }
201198
)
202199
DropdownMenuItem(

0 commit comments

Comments
 (0)