AMP improvements

This commit is contained in:
M66B
2022-02-13 12:27:10 +01:00
parent 8c433c4dbf
commit 2fbe0904cd
2 changed files with 2 additions and 1 deletions

View File

@@ -296,9 +296,11 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
private void onShare(EntityAttachment attachment) {
if ("text/x-amp-html".equals(attachment.type)) {
// https://amp.dev/about/email/
new AlertDialog.Builder(context)
.setIcon(R.drawable.twotone_bolt_24)
.setTitle(R.string.title_ask_show_amp)
.setMessage(R.string.title_ask_show_html)
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {