mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 09:03:56 +02:00
Added configurable card padding
This commit is contained in:
@@ -6543,6 +6543,14 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
return this.zoom;
|
||||
}
|
||||
|
||||
void setPadding(int padding) {
|
||||
if (rv != null) {
|
||||
rv.getRecycledViewPool().clear();
|
||||
rv.getLayoutManager().removeAllViews();
|
||||
}
|
||||
properties.refresh();
|
||||
}
|
||||
|
||||
void setSort(String sort) {
|
||||
if (!sort.equals(this.sort)) {
|
||||
this.sort = sort;
|
||||
|
||||
Reference in New Issue
Block a user