1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-20 13:17:08 +00:00

Simplification

This commit is contained in:
M66B 2024-02-22 21:11:58 +01:00
parent efd3edac53
commit 692dc36128

View file

@ -318,12 +318,8 @@ public class StyleHelper {
if (renum)
StyleHelper.renumber(text, false, etBody.getContext());
if (BuildConfig.DEBUG) {
StyleHelper.InsertedSpan[] inserts =
text.getSpans(0, text.length(), StyleHelper.InsertedSpan.class);
for (StyleHelper.InsertedSpan span : inserts)
text.removeSpan(span);
}
if (BuildConfig.DEBUG)
StyleHelper.markAsInserted(text, -1, -1);
} catch (Throwable ex) {
Log.e(ex);
} finally {