mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-06 03:49:58 +02:00
fix the warning when attaching multiple files: images are recoded, only videos are not
This commit is contained in:
parent
aa78c607ce
commit
5f77f791d0
4 changed files with 22 additions and 4 deletions
|
@ -669,7 +669,10 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||
ArrayList<Uri> uriList = RelayUtil.getSharedUris(this);
|
||||
int sharedContactId = RelayUtil.getSharedContactId(this);
|
||||
if (uriList.size() > 1) {
|
||||
String message = String.format(getString(R.string.share_multiple_attachments), uriList.size());
|
||||
String message = String.format(getString(R.string.ask_send_files_to_selected_chat), uriList.size());
|
||||
if (SendRelayedMessageUtil.containsVideoType(context, uriList)) {
|
||||
message += "\n\n" + getString(R.string.videos_sent_without_recoding);
|
||||
}
|
||||
new AlertDialog.Builder(this)
|
||||
.setMessage(message)
|
||||
.setCancelable(false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue