Small improvement

This commit is contained in:
M66B 2024-04-28 15:35:28 +02:00
parent a18199e420
commit 957276c1d4
1 changed files with 2 additions and 2 deletions

View File

@ -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() {