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

Commit 30afa07d authored by Prince's avatar Prince
Browse files

Removing additional select widget function for accessibility in edit mode

Fixes: 347126030
Flag: NONE Accessibility changes
Test: Device Tested
Change-Id: Id28d8c3fc166aa21ef38d3e422aead9167008822
parent 78f735a9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -963,7 +963,6 @@ private fun WidgetContent(
                .thenIf(viewModel.isEditMode) {
                    Modifier.semantics {
                        contentDescription = accessibilityLabel
                        onClick(label = clickActionLabel, action = null)
                        val deleteAction =
                            CustomAccessibilityAction(removeWidgetActionLabel) {
                                contentListState.onRemove(index)
@@ -980,7 +979,7 @@ private fun WidgetContent(
                                true
                            }

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

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