mirror of https://github.com/M66B/FairEmail.git
Skip changelog on opening thread
This commit is contained in:
parent
7581e20ffc
commit
c486ae0d97
|
@ -1207,6 +1207,13 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||||
if (first)
|
if (first)
|
||||||
new FragmentDialogFirst().show(getSupportFragmentManager(), "first");
|
new FragmentDialogFirst().show(getSupportFragmentManager(), "first");
|
||||||
else if (show_changelog) {
|
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);
|
String last = prefs.getString("changelog", null);
|
||||||
if (!Objects.equals(version, last) || BuildConfig.DEBUG) {
|
if (!Objects.equals(version, last) || BuildConfig.DEBUG) {
|
||||||
Bundle args = new Bundle();
|
Bundle args = new Bundle();
|
||||||
|
|
Loading…
Reference in New Issue