Skip changelog on opening thread

This commit is contained in:
M66B 2021-11-05 09:33:55 +01:00
parent 7581e20ffc
commit c486ae0d97
1 changed files with 7 additions and 0 deletions

View File

@ -1207,6 +1207,13 @@ 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"))
return;
String last = prefs.getString("changelog", null);
if (!Objects.equals(version, last) || BuildConfig.DEBUG) {
Bundle args = new Bundle();