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
3535import androidx.compose.foundation.layout.padding
3636import androidx.compose.foundation.layout.width
3737import androidx.compose.foundation.lazy.LazyColumn
38- import androidx.compose.foundation.lazy.items
3938import androidx.compose.foundation.lazy.itemsIndexed
4039import androidx.compose.material.icons.Icons
4140import 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 }
You can’t perform that action at this time.
0 commit comments