mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Prevent crash
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user