Manual labor

pull/194/head
M66B 4 years ago
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…
Cancel
Save