1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-01 01:06:11 +00:00

Set swipe refresh color scheme

This commit is contained in:
M66B 2024-06-18 19:13:43 +02:00
parent 4e2a725831
commit 1b0b2482c2

View file

@ -665,7 +665,8 @@ public class FragmentMessages extends FragmentBase
// Wire controls
swipeRefresh.setColorSchemeColors(Color.WHITE, Color.WHITE, Color.WHITE);
int c = Helper.resolveColor(getContext(), R.attr.colorInfoForeground);
swipeRefresh.setColorSchemeColors(c, c, c);
swipeRefresh.setProgressBackgroundColorSchemeColor(colorPrimary);
swipeRefresh.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {