fix: mention container long click
Co-authored-by: NekoInverter <chsqwyx@gmail.com>
This commit is contained in:
parent
3b08403289
commit
0df766e454
@ -7282,6 +7282,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
|||||||
if (getParentActivity() == null || !mentionContainer.getAdapter().isLongClickEnabled()) {
|
if (getParentActivity() == null || !mentionContainer.getAdapter().isLongClickEnabled()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
position--;
|
||||||
Object object = mentionContainer.getAdapter().getItem(position);
|
Object object = mentionContainer.getAdapter().getItem(position);
|
||||||
int start = mentionContainer.getAdapter().getResultStartPosition();
|
int start = mentionContainer.getAdapter().getResultStartPosition();
|
||||||
int len = mentionContainer.getAdapter().getResultLength();
|
int len = mentionContainer.getAdapter().getResultLength();
|
||||||
|
Loading…
Reference in New Issue
Block a user