1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Prevent crash

This commit is contained in:
M66B 2021-05-16 18:29:24 +02:00
parent 46f2214c40
commit d67d0940ae

View file

@ -70,6 +70,16 @@ public class FixedEditText extends AppCompatEditText {
}
}
@Override
public boolean onPreDraw() {
try {
return super.onPreDraw();
} catch (Throwable ex) {
Log.w(ex);
return true;
}
}
@Override
protected void onDraw(Canvas canvas) {
try {