Added the number of duplicates to the toast text.

This commit is contained in:
Jared Fantaye 2022-12-30 16:36:33 +01:00 committed by Stypox
parent f558a4a0d2
commit 938cbfc16a
2 changed files with 2 additions and 2 deletions

View file

@ -181,7 +181,7 @@ public final class PlaylistAppendDialog extends PlaylistDialog {
String toastText = getString(R.string.playlist_add_stream_success);
if (numOfDuplicates > 0) {
toastText = getString(R.string.playlist_add_stream_success_duplicate);
toastText = getString(R.string.playlist_add_stream_success_duplicate, numOfDuplicates);
}
final Toast successToast = Toast.makeText(getContext(), toastText, Toast.LENGTH_SHORT);