Open link default/ok/cancel

pull/165/head
M66B 5 years ago
parent cb59d83689
commit 618b19686f

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

@ -890,7 +890,7 @@
<string name="title_undo">Undo</string> <string name="title_undo">Undo</string>
<string name="title_redo">Redo</string> <string name="title_redo">Redo</string>
<string name="title_add">Add</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_info">Info</string>
<string name="title_report">Report</string> <string name="title_report">Report</string>
<string name="title_fix">Fix</string> <string name="title_fix">Fix</string>

Loading…
Cancel
Save