Skip to content

Commit

Permalink
Delete a fix For Ctrl+Backspace in an empty TextField as it's obsolete
Browse files Browse the repository at this point in the history
The fix #329 is obsolete. It's implemented in the upstream repository: https://android-review.googlesource.com/c/platform/frameworks/support/+/2425401

We delete this fix made in our fork to reduce the diff between our repositories.
  • Loading branch information
eymar committed Oct 22, 2024
1 parent 9d21b91 commit e71c648
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ internal abstract class BaseTextPreparedSelection<T : BaseTextPreparedSelection<
}

private fun charOffset(offset: Int) = offset.coerceAtMost(text.length - 1)
.coerceAtLeast(0)

companion object {
/**
Expand Down

0 comments on commit e71c648

Please sign in to comment.