|
|
@ -1196,12 +1196,16 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onSwiped(@NonNull RecyclerView.ViewHolder viewHolder, int direction) {
|
|
|
|
public void onSwiped(@NonNull RecyclerView.ViewHolder viewHolder, int direction) {
|
|
|
|
TupleMessageEx message = getMessage(viewHolder);
|
|
|
|
TupleMessageEx message = getMessage(viewHolder);
|
|
|
|
if (message == null)
|
|
|
|
if (message == null) {
|
|
|
|
|
|
|
|
super.clearView(rvMessage, viewHolder);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
TupleAccountSwipes swipes = accountSwipes.get(message.account);
|
|
|
|
TupleAccountSwipes swipes = accountSwipes.get(message.account);
|
|
|
|
if (swipes == null)
|
|
|
|
if (swipes == null) {
|
|
|
|
|
|
|
|
super.clearView(rvMessage, viewHolder);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Log.i("Swiped dir=" + direction + " message=" + message.id);
|
|
|
|
Log.i("Swiped dir=" + direction + " message=" + message.id);
|
|
|
|
|
|
|
|
|
|
|
|