mirror of https://github.com/M66B/FairEmail.git
Skip changelog when showing thread
This commit is contained in:
parent
34afc56041
commit
0302f6a020
|
@ -1207,6 +1207,14 @@ 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") || action.equals("widget")))
|
||||||
|
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