Added fail-safe

pull/214/head
M66B 10 months ago
parent 9e352840a2
commit c2537d1315

@ -6429,6 +6429,7 @@ public class FragmentCompose extends FragmentBase {
rvAttachment.setTag(downloading);
checkInternet();
try {
boolean updated = false;
Editable edit = etBody.getEditableText();
ImageSpan[] spans = edit.getSpans(0, edit.length(), ImageSpan.class);
@ -6514,6 +6515,9 @@ public class FragmentCompose extends FragmentBase {
map.clear();
for (EntityAttachment attachment : attachments)
map.put(attachment.id, attachment);
} catch (Throwable ex) {
Log.e(ex);
}
}
});

Loading…
Cancel
Save