This commit is contained in:
Grishka 2023-01-12 00:40:50 +03:00 committed by LucasGGamerM
parent 928b04eda6
commit 2464042329
1 changed files with 2 additions and 0 deletions

View File

@ -544,6 +544,8 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr
@Override @Override
public void afterTextChanged(Editable s){ public void afterTextChanged(Editable s){
if(s.length()==0)
return;
int start=lastChangeStart; int start=lastChangeStart;
int count=lastChangeCount; int count=lastChangeCount;
// offset one char back to catch an already typed '@' or '#' or ':' // offset one char back to catch an already typed '@' or '#' or ':'