Minor cleanup
This commit is contained in:
@@ -218,7 +218,6 @@ public class EncryptActivity extends DrawerActivity implements EncryptActivityIn
|
||||
Notify.showNotify(EncryptActivity.this, R.string.encrypt_sign_successful, Notify.Style.INFO);
|
||||
|
||||
if (!isContentMessage() && mDeleteAfterEncrypt) {
|
||||
// TODO: Create and show dialog to delete original file
|
||||
for (Uri inputUri : mInputUris) {
|
||||
DeleteFileDialogFragment deleteFileDialog = DeleteFileDialogFragment.newInstance(inputUri);
|
||||
deleteFileDialog.show(getSupportFragmentManager(), "deleteDialog");
|
||||
|
||||
@@ -85,7 +85,7 @@ public class DeleteFileDialogFragment extends DialogFragment {
|
||||
|
||||
Toast.makeText(getActivity(), getActivity().getString(R.string.error_file_delete_failed, deleteFilename), Toast.LENGTH_SHORT).show();
|
||||
|
||||
// TODO: We can't delete that file...
|
||||
// Note: We can't delete every file...
|
||||
// If possible we should find out if deletion is possible before even showing the option to do so.
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user