mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Scroll to message body
This commit is contained in:
@@ -694,7 +694,11 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
properties.setValue("quotes", message.id, false);
|
||||
properties.setValue("images", message.id, false);
|
||||
}
|
||||
|
||||
notifyItemChanged(pos);
|
||||
|
||||
if (expanded)
|
||||
properties.scrollTo(pos, Math.round(tvBody.getY()));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1762,6 +1766,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
|
||||
Spanned getBody(long id);
|
||||
|
||||
void scrollTo(int pos, int dy);
|
||||
|
||||
void move(long id, String target, boolean type);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user