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

@@ -653,7 +653,7 @@ public final class ImageEditorFragment extends Fragment implements ImageEditorHu
@Override
public void onSave() {
SaveAttachmentTask.showWarningDialog(requireContext(), (dialogInterface, i) -> {
SaveAttachmentTask.showWarningDialogIfNecessary(requireContext(), () -> {
if (StorageUtil.canWriteToMediaStore()) {
performSaveToDisk();
return;