mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-06 03:49:58 +02:00
use deltachat-yyyy-MM-dd-HHmmss as a fallback file name, closes #115
This commit is contained in:
parent
3542455e2a
commit
55ca2d0ef6
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ public class SaveAttachmentTask extends ProgressDialogAsyncTask<SaveAttachmentTa
|
|||
MimeTypeMap mimeTypeMap = MimeTypeMap.getSingleton();
|
||||
String extension = mimeTypeMap.getExtensionFromMimeType(contentType);
|
||||
SimpleDateFormat dateFormatter = new SimpleDateFormat("yyyy-MM-dd-HHmmss");
|
||||
String base = "signal-" + dateFormatter.format(timestamp);
|
||||
String base = "deltachat-" + dateFormatter.format(timestamp);
|
||||
|
||||
if (extension == null) extension = "attach";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue