diff options
| author | JosJuice <josjuice@gmail.com> | 2022-09-12 09:05:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-12 09:05:14 +0200 |
| commit | 14f427d4cdf113379add66f2fdf53ed229a23700 (patch) | |
| tree | 8ebcaad31ad7d4771014e32a6bfb9fefeaf223b4 /Source/Android/app/src/main/java/org | |
| parent | 05869734ed9dc746ccbaf138fe780f558b13d7e8 (diff) | |
| parent | 63ff3c38301c408958005f8c3d72eceba877cc4d (diff) | |
Merge pull request #11054 from t895/swipe-refresh
Android: Change swipe refresh colors to match other component colors
Diffstat (limited to 'Source/Android/app/src/main/java/org')
| -rw-r--r-- | Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/ui/platform/PlatformGamesFragment.java | 5 |
1 files 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); |
