Android: Change swipe refresh colors to match other component colors

This commit is contained in:
Charles Lombardo committed 2022-09-11 13:29:13 -04:00
1 parent 702e7bad58
commit 63ff3c3830
1 file changed
+3 -2
@@ -65,8 +65,9 @@ public final class PlatformGamesFragment extends Fragment implements PlatformGam
// Set theme color to the refresh animation's background
mSwipeRefresh.setProgressBackgroundColorSchemeColor(
MaterialColors.getColor(mSwipeRefresh, R.attr.colorSurfaceVariant));
mSwipeRefresh.setColorSchemeColors(MaterialColors.getColor(mSwipeRefresh, R.attr.colorPrimary));
MaterialColors.getColor(mSwipeRefresh, R.attr.colorPrimary));
mSwipeRefresh.setColorSchemeColors(
MaterialColors.getColor(mSwipeRefresh, R.attr.colorOnPrimary));
mSwipeRefresh.setOnRefreshListener(mOnRefreshListener);