Merge pull request #1772 from gigamonster256/push-wyntnrryzxkl

fix: mark skipped changelogs as seen
This commit is contained in:
Lemmy
2026-02-10 17:30:04 -05:00
committed by GitHub
+7 -5
View File
@@ -304,11 +304,7 @@ Singleton {
function showLatestChangelog() {
if (!currentVersion)
return;
if (!Settings.data.general.showChangelogOnStartup) {
return;
}
return;
if (!changelogStateLoaded) {
pendingShowRequest = true;
@@ -322,6 +318,12 @@ Singleton {
if (lastSeen === target)
return;
if (!Settings.data.general.showChangelogOnStartup) {
// user has opted out of seeing changelogs, mark as seen
markChangelogSeen(target);
return;
}
changelogFromVersion = lastSeen;
changelogToVersion = target;
changelogPending = true;