Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e0b50dc authored by Prince Donkor's avatar Prince Donkor Committed by Android (Google) Code Review
Browse files

Merge "Removing additional select widget function for accessibility in edit mode" into main

parents d523afe2 30afa07d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1003,7 +1003,6 @@ private fun WidgetContent(
                .thenIf(viewModel.isEditMode) {
                    Modifier.semantics {
                        contentDescription = accessibilityLabel
                        onClick(label = clickActionLabel, action = null)
                        val deleteAction =
                            CustomAccessibilityAction(removeWidgetActionLabel) {
                                contentListState.onRemove(index)
@@ -1020,7 +1019,7 @@ private fun WidgetContent(
                                true
                            }

                        val actions = mutableListOf(deleteAction, selectWidgetAction)
                        val actions = mutableListOf(selectWidgetAction, deleteAction)

                        if (selectedIndex != null && selectedIndex != index) {
                            actions.add(