Open link default/ok/cancel

This commit is contained in:
M66B 2019-11-06 16:56:36 +01:00
parent cb59d83689
commit 618b19686f
2 changed files with 3 additions and 3 deletions

View File

@ -4361,7 +4361,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
return new AlertDialog.Builder(getContext())
.setView(view)
.setPositiveButton(R.string.title_yes, new DialogInterface.OnClickListener() {
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
Uri uri = Uri.parse(etLink.getText().toString());
@ -4375,7 +4375,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
Helper.view(getContext(), uri, true);
}
})
.setNegativeButton(R.string.title_no, null)
.setNegativeButton(android.R.string.cancel, null)
.create();
}
}

View File

@ -890,7 +890,7 @@
<string name="title_undo">Undo</string>
<string name="title_redo">Redo</string>
<string name="title_add">Add</string>
<string name="title_browse">Use app</string>
<string name="title_browse">Default app</string>
<string name="title_info">Info</string>
<string name="title_report">Report</string>
<string name="title_fix">Fix</string>