Style corrected

pull/2717/head
Kamil Szczęk 2020-01-11 15:19:24 +01:00
rodzic d071891b2a
commit 2c8222fd55
2 zmienionych plików z 4 dodań i 5 usunięć

Wyświetl plik

@ -88,7 +88,6 @@ public class MissionAdapter extends Adapter<ViewHolder> implements Handler.Callb
private static final String UNDEFINED_PROGRESS = "--.-%";
private static final String DEFAULT_MIME_TYPE = "*/*";
private static final String UNDEFINED_ETA = "--:--";
private static final int TIMEOUT = 5000;// ms
static {
@ -595,7 +594,7 @@ public class MissionAdapter extends Adapter<ViewHolder> implements Handler.Callb
mSnackbar.setActionTextColor(Color.YELLOW);
mSnackbar.show();
mHandler.postDelayed(rDelete, TIMEOUT);
mHandler.postDelayed(rDelete, 5000);
} else if (!delete) {
mDownloadManager.forgetFinishedDownloads();
applyChanges();
@ -603,7 +602,7 @@ public class MissionAdapter extends Adapter<ViewHolder> implements Handler.Callb
}
private void deleteFinishedDownloads() {
if(mSnackbar != null) mSnackbar.dismiss();
if (mSnackbar != null) mSnackbar.dismiss();
Iterator<Mission> i = mHidden.iterator();
while (i.hasNext()) {

Wyświetl plik

@ -571,6 +571,8 @@
<string name="error_download_resource_gone">Cannot recover this download</string>
<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="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>
@ -587,6 +589,4 @@
<string name="downloads_storage_use_saf_title">Use SAF</string>
<string name="downloads_storage_use_saf_summary">The Storage Access Framework allows downloads to an external SD card.\nNote: some devices are not compatible</string>
<string name="choose_instance_prompt">Choose an instance</string>
<string name="delete_downloaded_files">Delete downloaded files</string>
<string name="deleted_downloads">Deleted %s downloads</string>
</resources>