File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
ai-catalog/samples/gemini-live-todo/src/main/java/com/android/ai/samples/geminilivetodo/ui Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ import androidx.compose.foundation.layout.imePadding
35
35
import androidx.compose.foundation.layout.padding
36
36
import androidx.compose.foundation.layout.width
37
37
import androidx.compose.foundation.lazy.LazyColumn
38
- import androidx.compose.foundation.lazy.items
39
38
import androidx.compose.foundation.lazy.itemsIndexed
40
39
import androidx.compose.material.icons.Icons
41
40
import androidx.compose.material.icons.filled.Delete
@@ -149,7 +148,7 @@ fun TodoScreen(viewModel: TodoScreenViewModel = hiltViewModel()) {
149
148
onToggle = { viewModel.toggleTodoStatus(todo.id) },
150
149
onDelete = { viewModel.removeTodo(todo.id) },
151
150
)
152
- if (index!= todos.size- 1 ) {
151
+ if (index != todos.size - 1 ) {
153
152
HorizontalDivider ()
154
153
}
155
154
}
@@ -165,7 +164,7 @@ fun TodoScreen(viewModel: TodoScreenViewModel = hiltViewModel()) {
165
164
onToggle = { viewModel.toggleTodoStatus(todo.id) },
166
165
onDelete = { viewModel.removeTodo(todo.id) },
167
166
)
168
- if (index!= todos.size- 1 ) {
167
+ if (index != todos.size - 1 ) {
169
168
HorizontalDivider ()
170
169
}
171
170
}
You can’t perform that action at this time.
0 commit comments