mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 17:43:18 +02:00
Added confirmation for edit original
This commit is contained in:
@@ -1458,6 +1458,22 @@ public class FragmentCompose extends FragmentBase {
|
||||
}
|
||||
|
||||
private void convertRef(boolean plain) {
|
||||
if (plain)
|
||||
_convertRef(plain);
|
||||
else
|
||||
new AlertDialog.Builder(getContext())
|
||||
.setMessage(R.string.title_ask_show_html)
|
||||
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
_convertRef(false);
|
||||
}
|
||||
})
|
||||
.setNegativeButton(android.R.string.cancel, null)
|
||||
.show();
|
||||
}
|
||||
|
||||
private void _convertRef(boolean plain) {
|
||||
etBody.clearComposingText();
|
||||
|
||||
Bundle args = new Bundle();
|
||||
|
||||
Reference in New Issue
Block a user