Commit 8c7c3ac
committed
fix(ui): text field input filters duplicating on repeated dialog open
On some ROMs (GrapheneOS, /e/ OS), the setOnBindEditTextListener callback
is invoked multiple times. The previous code appended filters to
editText.filters each call, causing LengthFilter/SpecificCharsInputFilter
to accumulate and produce erratic typing behaviour.
Fixes #22051 parent 291632e commit 8c7c3ac
1 file changed
Lines changed: 4 additions & 12 deletions
Lines changed: 4 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 88 | + | |
| 89 | + | |
99 | 90 | | |
100 | 91 | | |
| 92 | + | |
101 | 93 | | |
102 | 94 | | |
103 | 95 | | |
| |||
0 commit comments