Minor cleanup

This commit is contained in:
mar-v-in 2014-08-02 04:16:26 +02:00
parent e17c1a0cd4
commit d4f2d3842b
4 changed files with 3 additions and 3 deletions

View file

@ -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");

View file

@ -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.
}
});

View file

@ -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"/>

View file

@ -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>