Set swipe refresh color scheme

pull/215/head
M66B 6 months ago
parent 4e2a725831
commit 1b0b2482c2

@ -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() {

Loading…
Cancel
Save