Skip to content

Commit

Permalink
Fixed initial changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed Dec 15, 2024
1 parent 04bb469 commit 6d6e027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/eu/faircode/email/ActivityView.java
Original file line number Diff line number Diff line change
Expand Up @@ -1614,15 +1614,15 @@ else if (show_changelog) {

String last = prefs.getString("changelog", null);
if (last != null && !last.equals(version)) {
prefs.edit().putString("changelog", version).apply();

Bundle args = new Bundle();
args.putString("name", "CHANGELOG.md");
args.putString("option", "show_changelog");
FragmentDialogMarkdown fragment = new FragmentDialogMarkdown();
fragment.setArguments(args);
fragment.show(getSupportFragmentManager(), "changelog");
}
if (!version.equals(last))
prefs.edit().putString("changelog", version).apply();
}
}

Expand Down

0 comments on commit 6d6e027

Please sign in to comment.