mirror of
https://github.com/moparisthebest/open-keychain
synced 2025-02-17 07:30:14 -05:00
Minor cleanup
This commit is contained in:
parent
e17c1a0cd4
commit
d4f2d3842b
@ -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.
|
||||
}
|
||||
});
|
||||
|
@ -14,7 +14,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:text="Add file(s)"
|
||||
android:text="@string/btn_add_files"
|
||||
android:drawableLeft="@drawable/ic_action_collection"
|
||||
android:drawablePadding="8dp"
|
||||
android:gravity="center"/>
|
||||
|
@ -74,6 +74,7 @@
|
||||
<string name="btn_share_encrypted_signed">Share encrypted/signed message…</string>
|
||||
<string name="btn_view_cert_key">View certification key</string>
|
||||
<string name="btn_create_key">Create key</string>
|
||||
<string name="btn_add_files">Add file(s)</string>
|
||||
|
||||
<!-- menu -->
|
||||
<string name="menu_preferences">Settings</string>
|
||||
|
Loading…
Reference in New Issue
Block a user