mirror of https://github.com/M66B/FairEmail.git
Manual labor
This commit is contained in:
parent
31100858a4
commit
ef419e0378
|
@ -102,8 +102,14 @@ public class FragmentSetup extends FragmentBase {
|
||||||
|
|
||||||
if (savedInstanceState == null) {
|
if (savedInstanceState == null) {
|
||||||
FragmentActivity activity = getActivity();
|
FragmentActivity activity = getActivity();
|
||||||
if (activity != null)
|
if (activity != null) {
|
||||||
manual = activity.getIntent().getBooleanExtra("manual", false);
|
Intent intent = activity.getIntent();
|
||||||
|
if (intent.hasExtra("manual")) {
|
||||||
|
manual = intent.getBooleanExtra("manual", false);
|
||||||
|
intent.removeExtra("manual");
|
||||||
|
activity.setIntent(intent);
|
||||||
|
}
|
||||||
|
}
|
||||||
} else
|
} else
|
||||||
manual = savedInstanceState.getBoolean("fair:manual");
|
manual = savedInstanceState.getBoolean("fair:manual");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue