mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 11:55:20 +01:00
Added insert link as image
This commit is contained in:
@@ -572,11 +572,12 @@ public class FragmentAnswer extends FragmentBase {
|
||||
|
||||
private void onLinkSelected(Bundle args) {
|
||||
String link = args.getString("link");
|
||||
boolean image = args.getBoolean("image");
|
||||
int start = args.getInt("start");
|
||||
int end = args.getInt("end");
|
||||
String title = args.getString("title");
|
||||
etText.setSelection(start, end);
|
||||
StyleHelper.apply(R.id.menu_link, getViewLifecycleOwner(), null, etText, link, title);
|
||||
StyleHelper.apply(R.id.menu_link, getViewLifecycleOwner(), null, etText, -1L, 0, link, image, title);
|
||||
}
|
||||
|
||||
private void onDelete() {
|
||||
|
||||
Reference in New Issue
Block a user