mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Modify conditions
This commit is contained in:
parent
20331c13dd
commit
ad92053018
1 changed files with 3 additions and 1 deletions
|
|
@ -189,7 +189,9 @@ public class LoginActivity extends AccountAuthenticatorActivity {
|
||||||
|
|
||||||
if (savedInstanceState == null) {
|
if (savedInstanceState == null) {
|
||||||
Bundle extras = getIntent().getExtras();
|
Bundle extras = getIntent().getExtras();
|
||||||
if (extras == null || extras.getBoolean("redirected") == false ) {
|
// Only load welcome screen if we weren't redirected from SignupActivity
|
||||||
|
if (extras == null || extras.getBoolean("Redirected") != true ) {
|
||||||
|
Log.d("SignupActivity", "Redirected? " + Boolean.toString(extras.getBoolean("Redirected")));
|
||||||
Intent welcomeIntent = new Intent(this, WelcomeActivity.class);
|
Intent welcomeIntent = new Intent(this, WelcomeActivity.class);
|
||||||
startActivity(welcomeIntent);
|
startActivity(welcomeIntent);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue