mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Larger buttons (2)
This commit is contained in:
@@ -2879,6 +2879,20 @@ public class Helper {
|
||||
return result;
|
||||
}
|
||||
|
||||
static int[] toIntArray(List<Integer> list) {
|
||||
int[] result = new int[list.size()];
|
||||
for (int i = 0; i < list.size(); i++)
|
||||
result[i] = list.get(i);
|
||||
return result;
|
||||
}
|
||||
|
||||
static List<Integer> fromIntArray(int[] array) {
|
||||
List<Integer> result = new ArrayList<>();
|
||||
for (int i = 0; i < array.length; i++)
|
||||
result.add(array[i]);
|
||||
return result;
|
||||
}
|
||||
|
||||
static long[] toLongArray(List<Long> list) {
|
||||
long[] result = new long[list.size()];
|
||||
for (int i = 0; i < list.size(); i++)
|
||||
|
||||
Reference in New Issue
Block a user