mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-16 06:32:22 +01:00
Possible fix rare crash when swipe to reply
This commit is contained in:
parent
6bd0953670
commit
64d371ae69
1 changed files with 1 additions and 1 deletions
|
@ -1720,7 +1720,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
|||
public void onOpen(SwipeLayout layout) {
|
||||
swipeLayout.refreshDrawableState();
|
||||
//when the BottomView totally show.
|
||||
MessageAdapter.this.mOnMessageBoxSwipedListener.onContactPictureClicked(message);
|
||||
if (mOnMessageBoxSwipedListener != null) mOnMessageBoxSwipedListener.onContactPictureClicked(message);
|
||||
swipeLayout.close(true);
|
||||
swipeLayout.setClickToClose(true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue