mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
fix multi-line paste (#6050)
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
This commit is contained in:
parent
4c9637c821
commit
70b4f78a5d
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ public class UploadMediaDetailInputFilter implements InputFilter {
|
||||||
public CharSequence filter(CharSequence source, int start, int end, Spanned dest, int dstart,
|
public CharSequence filter(CharSequence source, int start, int end, Spanned dest, int dstart,
|
||||||
int dend) {
|
int dend) {
|
||||||
if (checkBlocklisted(source)) {
|
if (checkBlocklisted(source)) {
|
||||||
if (start == dstart) {
|
if (start == dstart && dest.length() > 0) {
|
||||||
return dest;
|
return dest;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue