mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-25 01:06:04 +00:00
Small improvement
This commit is contained in:
parent
a18199e420
commit
957276c1d4
1 changed files with 2 additions and 2 deletions
|
@ -1525,6 +1525,8 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|||
|
||||
String last = prefs.getString("changelog", null);
|
||||
if (!Objects.equals(version, last) || BuildConfig.DEBUG) {
|
||||
prefs.edit().putString("changelog", version).apply();
|
||||
|
||||
Bundle args = new Bundle();
|
||||
args.putString("name", "CHANGELOG.md");
|
||||
FragmentDialogMarkdown fragment = new FragmentDialogMarkdown();
|
||||
|
@ -1532,8 +1534,6 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|||
fragment.show(getSupportFragmentManager(), "changelog");
|
||||
}
|
||||
}
|
||||
|
||||
prefs.edit().putString("changelog", version).apply();
|
||||
}
|
||||
|
||||
private void checkBanner() {
|
||||
|
|
Loading…
Reference in a new issue