From cc44993d1c6a327dda68b40bd9ced2b3eb24ccd9 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 19 Jan 2023 08:46:48 +0100 Subject: [PATCH] Fixed signature dirty --- app/src/main/java/eu/faircode/email/ActivitySignature.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ActivitySignature.java b/app/src/main/java/eu/faircode/email/ActivitySignature.java index 23fd322357..b2f0438133 100644 --- a/app/src/main/java/eu/faircode/email/ActivitySignature.java +++ b/app/src/main/java/eu/faircode/email/ActivitySignature.java @@ -118,7 +118,8 @@ public class ActivitySignature extends ActivityBase { @Override public void onTextChanged(CharSequence s, int start, int before, int count) { - if (loaded) { + if (loaded && + !(start == 0 && before == s.length() && count == s.length())) { dirty = true; saved = null; }