Skip to content

Commit a0ed509

Browse files
🤖 Apply Spotless formatting
1 parent 9175077 commit a0ed509

File tree

1 file changed

+2
-3
lines changed
  • ai-catalog/samples/gemini-live-todo/src/main/java/com/android/ai/samples/geminilivetodo/ui

1 file changed

+2
-3
lines changed

‎ai-catalog/samples/gemini-live-todo/src/main/java/com/android/ai/samples/geminilivetodo/ui/TodoScreen.kt‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ import androidx.compose.foundation.layout.imePadding
3535
import androidx.compose.foundation.layout.padding
3636
import androidx.compose.foundation.layout.width
3737
import androidx.compose.foundation.lazy.LazyColumn
38-
import androidx.compose.foundation.lazy.items
3938
import androidx.compose.foundation.lazy.itemsIndexed
4039
import androidx.compose.material.icons.Icons
4140
import androidx.compose.material.icons.filled.Delete
@@ -149,7 +148,7 @@ fun TodoScreen(viewModel: TodoScreenViewModel = hiltViewModel()) {
149148
onToggle = { viewModel.toggleTodoStatus(todo.id) },
150149
onDelete = { viewModel.removeTodo(todo.id) },
151150
)
152-
if (index!=todos.size-1) {
151+
if (index != todos.size - 1) {
153152
HorizontalDivider()
154153
}
155154
}
@@ -165,7 +164,7 @@ fun TodoScreen(viewModel: TodoScreenViewModel = hiltViewModel()) {
165164
onToggle = { viewModel.toggleTodoStatus(todo.id) },
166165
onDelete = { viewModel.removeTodo(todo.id) },
167166
)
168-
if (index!=todos.size-1) {
167+
if (index != todos.size - 1) {
169168
HorizontalDivider()
170169
}
171170
}

0 commit comments

Comments
 (0)