mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-22 07:42:52 +00:00
Fixed initial changelog
This commit is contained in:
parent
04bb4695e1
commit
6d6e027a92
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue