Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit fde4e267 authored by cketti's avatar cketti Committed by GitHub
Browse files

Merge pull request #4711 from k9mail/account_change_marker

Don't set change marker when loading/initializing an Account instance
parents 0dabe18b de2845ae
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -363,6 +363,10 @@ public class Account implements BaseAccount, StoreConfig {
    }

    public synchronized void setDisplayCount(int displayCount) {
        if (this.displayCount == displayCount) {
            return;
        }

        if (displayCount != -1) {
            this.displayCount = displayCount;
        } else {
+4 −0
Original line number Diff line number Diff line
@@ -157,6 +157,8 @@ class AccountPreferenceSerializer(
            if (description == null) {
                description = email
            }

            resetChangeMarkers()
        }
    }

@@ -579,6 +581,8 @@ class AccountPreferenceSerializer(
                ringtone = "content://settings/system/notification_sound"
                ledColor = chipColor
            }

            resetChangeMarkers()
        }
    }