mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-20 13:17:08 +00:00
Simplification
This commit is contained in:
parent
efd3edac53
commit
692dc36128
1 changed files with 2 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue