Add option to hide save storage warning.

This commit is contained in:
Michelle Tang
2025-01-23 14:17:58 -05:00
committed by GitHub
parent 83af313305
commit f128df7d95
9 changed files with 84 additions and 36 deletions

View File

@@ -2381,7 +2381,7 @@ class ConversationFragment :
val attachments = SaveAttachmentUtil.getAttachmentsForRecord(record)
SaveAttachmentUtil.showWarningDialog(requireContext(), attachments.size) { _, _ ->
SaveAttachmentUtil.showWarningDialogIfNecessary(requireContext()) {
if (StorageUtil.canWriteToMediaStore()) {
performAttachmentSave(attachments)
} else {