From 63ff3c38301c408958005f8c3d72eceba877cc4d Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Sun, 11 Sep 2022 13:19:20 -0400 Subject: [PATCH] Android: Change swipe refresh colors to match other component colors --- .../dolphinemu/ui/platform/PlatformGamesFragment.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/platform/PlatformGamesFragment.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/platform/PlatformGamesFragment.java index 8cebf28645..84b921aa8f 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/platform/PlatformGamesFragment.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/platform/PlatformGamesFragment.java @@ -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);