diff options
author | Scott Jackson <daneren2005@gmail.com> | 2016-10-10 17:47:05 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2016-10-10 17:47:05 -0700 |
commit | a09b7f8b2bac877655e10f5f7f8f37779d119595 (patch) | |
tree | b9f5bcdb30d36127f2828ecc259fac15394f44ab /app/src/main/java | |
parent | e32c49329b7c665e96604ac047ce772e1155e468 (diff) | |
download | dsub-a09b7f8b2bac877655e10f5f7f8f37779d119595.tar.gz dsub-a09b7f8b2bac877655e10f5f7f8f37779d119595.tar.bz2 dsub-a09b7f8b2bac877655e10f5f7f8f37779d119595.zip |
Fix a couple of minor warnings
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java index 818324ed..e138f4dd 100644 --- a/app/src/main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java +++ b/app/src/main/java/github/daneren2005/dsub/fragments/SubsonicFragment.java @@ -660,7 +660,7 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR } }); - refreshLayout.setColorScheme( + refreshLayout.setColorSchemeResources( R.color.holo_blue_light, R.color.holo_orange_light, R.color.holo_green_light, @@ -683,7 +683,7 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR } }); - refreshLayout.setColorScheme( + refreshLayout.setColorSchemeResources( R.color.holo_blue_light, R.color.holo_orange_light, R.color.holo_green_light, @@ -1113,7 +1113,7 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR @Override protected void done(Void result) { - Util.toast(context, context.getResources().getString(R.string.updated_playlist, songs.size(), playlist.getName())); + Util.toast(context, context.getResources().getString(R.string.updated_playlist, String.valueOf(songs.size()), playlist.getName())); } @Override |