mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 08:30:44 +00:00
Use Integer value directly for formatted string
a
This commit is contained in:
parent
2c8222fd55
commit
3d93ecd6ec
@ -580,7 +580,7 @@ public class MissionAdapter extends Adapter<ViewHolder> implements Handler.Callb
|
||||
}
|
||||
applyChanges();
|
||||
|
||||
String msg = String.format(mContext.getString(R.string.deleted_downloads), String.valueOf(mHidden.size()));
|
||||
String msg = String.format(mContext.getString(R.string.deleted_downloads), mHidden.size());
|
||||
mSnackbar = Snackbar.make(mView, msg, Snackbar.LENGTH_INDEFINITE);
|
||||
mSnackbar.setAction(R.string.undo, s -> {
|
||||
Iterator<Mission> i = mHidden.iterator();
|
||||
|
@ -572,7 +572,7 @@
|
||||
<string name="clear_download_history">Clear download history</string>
|
||||
<string name="confirm_prompt">Do you want to clear your download history or delete all downloaded files?</string>
|
||||
<string name="delete_downloaded_files">Delete downloaded files</string>
|
||||
<string name="deleted_downloads">Deleted %s downloads</string>
|
||||
<string name="deleted_downloads">Deleted %1$s downloads</string>
|
||||
<string name="stop">Stop</string>
|
||||
<string name="max_retry_msg">Maximum retries</string>
|
||||
<string name="max_retry_desc">Maximum number of attempts before canceling the download</string>
|
||||
|
Loading…
Reference in New Issue
Block a user