diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-05-13 20:10:28 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-05-13 20:10:28 -0700 |
commit | cae74d97ae84ddc2838658fecef8c0091784dd3f (patch) | |
tree | f07d3ede4100ce6b22f55b25e66571938155c3dc /subsonic-android/src/github | |
parent | b77377ad3d787f9b25a9f2259780b0cf0e80cf33 (diff) | |
download | dsub-cae74d97ae84ddc2838658fecef8c0091784dd3f.tar.gz dsub-cae74d97ae84ddc2838658fecef8c0091784dd3f.tar.bz2 dsub-cae74d97ae84ddc2838658fecef8c0091784dd3f.zip |
Show Playing: as 1-based index instead of 0-based
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java index e61670da..c745e6d2 100644 --- a/subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java +++ b/subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java @@ -887,7 +887,7 @@ public class DownloadFragment extends SubsonicFragment implements OnGestureListe break;
}
- setSubtitle(context.getResources().getString(R.string.download_playing_out_of, downloadService.getCurrentPlayingIndex(), downloadService.size()));
+ setSubtitle(context.getResources().getString(R.string.download_playing_out_of, downloadService.getCurrentPlayingIndex() + 1, downloadService.size()));
}
private void onCurrentChanged() {
@@ -902,7 +902,7 @@ public class DownloadFragment extends SubsonicFragment implements OnGestureListe songTitleTextView.setText(song.getTitle());
getImageLoader().loadImage(albumArtImageView, song, true, true);
starButton.setImageResource(song.isStarred() ? android.R.drawable.btn_star_big_on : android.R.drawable.btn_star_big_off);
- setSubtitle(context.getResources().getString(R.string.download_playing_out_of, downloadService.getCurrentPlayingIndex(), downloadService.size()));
+ setSubtitle(context.getResources().getString(R.string.download_playing_out_of, downloadService.getCurrentPlayingIndex() + 1, downloadService.size()));
} else {
songTitleTextView.setText(null);
getImageLoader().loadImage(albumArtImageView, null, true, false);
|