Skip changelog when showing thread

This commit is contained in:
M66B 2021-11-05 19:12:51 +01:00
parent 34afc56041
commit 0302f6a020
1 changed files with 8 additions and 0 deletions

View File

@ -1207,6 +1207,14 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
if (first)
new FragmentDialogFirst().show(getSupportFragmentManager(), "first");
else if (show_changelog) {
// checkFirst: onCreate
// checkIntent: onResume
Intent intent = getIntent();
String action = (intent == null ? null : intent.getAction());
if (action != null &&
(action.startsWith("thread") || action.equals("widget")))
return;
String last = prefs.getString("changelog", null);
if (!Objects.equals(version, last) || BuildConfig.DEBUG) {
Bundle args = new Bundle();