1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-23 06:31:17 +00:00

Signature resume raw/monospaced

This commit is contained in:
M66B 2022-11-24 21:38:01 +01:00
parent bf8c80330a
commit 50df1c3663

View file

@ -225,6 +225,12 @@ public class ActivitySignature extends ActivityBase {
dirty = false;
}
@Override
protected void onResume() {
super.onResume();
etText.setTypeface(etText.isRaw() ? Typeface.MONOSPACE : Typeface.DEFAULT);
}
@Override
protected void onSaveInstanceState(Bundle outState) {
outState.putBoolean("fair:dirty", dirty);