Adjust strings for media and calls.

This commit is contained in:
Michelle Tang
2025-01-28 16:41:30 -05:00
committed by Greyson Parrelli
parent c431ba3f7a
commit fd1e47888a
8 changed files with 51 additions and 26 deletions

View File

@@ -44,7 +44,7 @@ final class MediaActions {
return;
}
SaveAttachmentTask.showWarningDialogIfNecessary(context, () -> Permissions.with(fragment)
SaveAttachmentTask.showWarningDialogIfNecessary(context, mediaRecords.size(), () -> Permissions.with(fragment)
.request(Manifest.permission.WRITE_EXTERNAL_STORAGE)
.ifNecessary()
.withPermanentDenialDialog(fragment.getString(R.string.MediaPreviewActivity_signal_needs_the_storage_permission_in_order_to_write_to_external_storage_but_it_has_been_permanently_denied))