mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 08:33:37 +02:00
Pinch zoom text size
This commit is contained in:
@@ -232,6 +232,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
private int autoCloseCount = 0;
|
||||
private boolean autoExpanded = true;
|
||||
private Map<String, List<Long>> values = new HashMap<>();
|
||||
private LongSparseArray<Float> sizes = new LongSparseArray<>();
|
||||
private LongSparseArray<Spanned> bodies = new LongSparseArray<>();
|
||||
private LongSparseArray<List<EntityAttachment>> attachments = new LongSparseArray<>();
|
||||
private LongSparseArray<TupleAccountSwipes> accountSwipes = new LongSparseArray<>();
|
||||
@@ -1179,6 +1180,16 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSize(long id, float size) {
|
||||
sizes.put(id, size);
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getSize(long id, float defaultSize) {
|
||||
return sizes.get(id, defaultSize);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setBody(long id, Spanned value) {
|
||||
if (value == null)
|
||||
|
||||
Reference in New Issue
Block a user