parent
11b9042a81
commit
48801a3b50
2 changed files with 5 additions and 2 deletions
|
@ -454,8 +454,11 @@ public class EntriesCardAdapter extends RecyclerView.Adapter<EntryViewHolder>
|
|||
public void removeItem(final int pos) {
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(context);
|
||||
|
||||
String label = displayedEntries.get(pos).getLabel();
|
||||
String message = context.getString(R.string.dialog_msg_confirm_delete, label);
|
||||
|
||||
builder.setTitle(R.string.dialog_title_remove)
|
||||
.setMessage(R.string.dialog_msg_confirm_delete)
|
||||
.setMessage(message)
|
||||
.setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialogInterface, int i) {
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
<string name="dialog_title_last_used">Last used</string>
|
||||
|
||||
<string name="dialog_msg_auth">Please enter your device credentials to start andOTP.</string>
|
||||
<string name="dialog_msg_confirm_delete">Are you sure you want do remove this account?</string>
|
||||
<string name="dialog_msg_confirm_delete">Are you sure you want do remove the account \"%1$s\"?</string>
|
||||
|
||||
<string name="dialog_msg_security_backup_desc">To keep your account information secure this app
|
||||
only stores it encrypted. Part of the encryption key used for this is stored in the Android
|
||||
|
|
Loading…
Reference in a new issue