1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-21 23:32:51 +00:00

Fixed initial changelog

This commit is contained in:
M66B 2024-12-15 08:14:21 +01:00
parent 04bb4695e1
commit 6d6e027a92

View file

@ -1614,8 +1614,6 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
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");
@ -1623,6 +1621,8 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
fragment.setArguments(args);
fragment.show(getSupportFragmentManager(), "changelog");
}
if (!version.equals(last))
prefs.edit().putString("changelog", version).apply();
}
}